CVE-2023-39342
published low CVSS 3.1 · 3.6Dangerzone CLI does not sanitize ANSI escape characters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| freedomofpress | — | dangerzone< 0.4.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| freedomofpress | dangerzone | < 0.4.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-150 CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
References
3Provider assertions
3GitHub_M · cna
Dangerzone CLI does not sanitize ANSI escape characters
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 36891748203e74b801f56663279dce281fd73549a50bab6d920579e8b1a6d458
- Ingested
- 23 Sep 2026, 08:10:43 UTC
- Source record
- Official CVE record