tracing is a framework for instrumenting Rust programs to collect structured, event-based diagnostic information. Prior to version 0.3.20, tracing-subscriber was vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to manipulate terminal title bars, clear screens or modify terminal display, and potentially mislead users through terminal manipulation. tracing-subscriber version 0.3.20 fixes this vulnerability by escaping ANSI control characters when writing events to destinations that may be printed to the terminal. A workaround involves avoiding printing logs to terminal emulators without escaping ANSI control sequences.
CVSS Details
- CVSS 4.0 Base Score: 2.3 (LOW)
- CVSS 4.0 Vector: (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade loupe-debugsourceUpgrade rust-cargo-c-debugsourceUpgrade loupe-debuginfoUpgrade loupeUpgrade cargo-cUpgrade glycin-debugsourceUpgrade glycin-loadersUpgrade cargo-c-debuginfoUpgrade glycin-loaders-debuginfo | Sep 16, 2025 | Aug 29, 2025 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Aug 29, 2025 |
| Suse | — | Upgrade pam-himmelblauUpgrade cargo-packagingUpgrade himmelblau-sshd-configUpgrade python311-maturinUpgrade himmelblauUpgrade libnss_himmelblau2Upgrade rust-bindgen | Dec 5, 2025 | Sep 5, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub