CVE-2023-39342

Dangerzone CLI does not sanitize ANSI escape characters

Description

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.

Category

3.6
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.06%
Vendor Advisory github.com Vendor Advisory github.com
Affected: freedomofpress dangerzone
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-39342?
CVE-2023-39342 has been scored as a low severity vulnerability.
How to fix CVE-2023-39342?
To fix CVE-2023-39342, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-39342 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-39342 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-39342?
CVE-2023-39342 affects freedomofpress dangerzone.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.