CVE-2023-39342
What it is
Dangerzone is software for converting potentially dangerous PDFs, office documents, or images to safe PDFs. The Dangerzone CLI (`dangerzone-cli` command) logs output from the container where the file sanitization takes place, to the user's terminal. Prior to version 0.4.2, if the container is compromised and can return attacker-controlled strings, then the attacker may be able to spoof messages in the user's terminal or change the window title. Besides logging output from containers, it also logs the names of the files it sanitizes. If these files contain ANSI escape sequences, then the same issue applies. Dangerzone is predominantly a GUI application, so this issue should leave most of our users unaffected. Nevertheless, we always suggest updating to the newest version. This issue is fixed in Dangerzone 0.4.2.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 3.6 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-150
- Record status
- Modified
Affected
- Freedom Dangerzone < 0.4.2
Attack profile CVSS 3.1 · 3.6
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-39342.md and follow it. Check whether this project is affected by CVE-2023-39342. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/freedomofpress/dangerzone/pull/491
- https://github.com/freedomofpress/dangerzone/releases/tag/v0.4.2
- https://github.com/freedomofpress/dangerzone/security/advisories/GHSA-pvwq-6vpp-2632
- https://github.com/freedomofpress/dangerzone/pull/491
- https://github.com/freedomofpress/dangerzone/releases/tag/v0.4.2
- https://github.com/freedomofpress/dangerzone/security/advisories/GHSA-pvwq-6vpp-2632
References
- https://github.com/freedomofpress/dangerzone/pull/491
- https://github.com/freedomofpress/dangerzone/releases/tag/v0.4.2
- https://github.com/freedomofpress/dangerzone/security/advisories/GHSA-pvwq-6vpp-2632
- https://github.com/freedomofpress/dangerzone/pull/491
- https://github.com/freedomofpress/dangerzone/releases/tag/v0.4.2
- https://github.com/freedomofpress/dangerzone/security/advisories/GHSA-pvwq-6vpp-2632