{"answers":{"affected":"3 open source packages ship an affected version, including tracing-subscriber.","exploited":"There is no known exploitation of CVE-2025-58160 in the wild and no public exploit code.","fix":"Upgrade tracing-subscriber to 0.3.20 or later.","what":"CVE-2025-58160 is a low-severity vulnerability in tokio-rs tracing, published on 29 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-58160 and fix it if it is affected.\n\nWhat it is: CVE-2025-58160 is a low-severity vulnerability in tokio-rs tracing, published on 29 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-58160 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tracing-subscriber (crates.io): affected all versions; fixed in 0.3.20\n- tracing-subscriber (crates.io): affected all versions; fixed in 0.3.20\n- tracing-subscriber (crates.io): affected from 0.0.0-0; fixed in 0.3.20\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-58160/ (Markdown: https://insights.sbomify.com/CVE-2025-58160/index.md)","id":"CVE-2025-58160","markdown":"https://insights.sbomify.com/CVE-2025-58160/index.md","name":"CVE-2025-58160","record":{"aliases":["AZL-73211","AZL-73217","AZL-73220","AZL-73223","AZL-73244","AZL-73247","AZL-78618","AZL-81206","CLEANSTART-2026-UC60244","DEBIAN-CVE-2025-58160","GHSA-xwfj-jgwm-7wp5","MINI-24jc-rvm8-x3cq","MINI-55rr-q3g6-h3hq","MINI-7gj3-72wq-f5xj","MINI-8gvc-2w4w-pxvx","MINI-8h9w-c7cg-j8g3","MINI-cf84-fr3f-jjg7","MINI-f4h9-qqhh-w564","MINI-h5q5-5gjx-9x4r","MINI-hrgg-xv9m-p3vq","MINI-jc24-gwgp-v8gg","MINI-r45m-vpw3-v5xp","RUSTSEC-2025-0055","SUSE-SU-2025:03082-1","SUSE-SU-2025:3869-1","SUSE-SU-2025:4091-1","SUSE-SU-2026:20235-1","SUSE-SU-2026:20335-1","SUSE-SU-2026:22380-1","SUSE-SU-2026:23567-1","SUSE-SU-2026:23607-1","UBUNTU-CVE-2025-58160","openSUSE-SU-2025:15512-1","openSUSE-SU-2025:15514-1","openSUSE-SU-2025:15517-1","openSUSE-SU-2025:15518-1","openSUSE-SU-2025:15519-1","openSUSE-SU-2025:15540-1","openSUSE-SU-2025:15552-1","openSUSE-SU-2026:11028-1","openSUSE-SU-2026:20180-1","openSUSE-SU-2026:21074-1","openSUSE-SU-2026:21681-1","openSUSE-SU-2026:21741-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust tracing library","requires_auth":"none","summary":"Attackers can inject ANSI escape sequences into logs to manipulate terminal displays and mislead users via the tracing-subscriber library.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"description":"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.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.2","crates.io","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Tracing logging user input may result in poisoning logs with ANSI escape sequences","id":"CVE-2025-58160","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"other","year":"2025"},"n_packages":28,"n_references":1,"next":{"headline":"MobSF Path Traversal in GET /download/\u003cfilename\u003e using absolute filenames","id":"CVE-2025-58161"},"packages":[{"ecosystem":"crates.io","fixed":["0.3.20"],"introduced":["0"],"last_affected":[],"package":"tracing-subscriber","purl":null,"source":"GHSA-xwfj-jgwm-7wp5"},{"ecosystem":"crates.io","fixed":["0.3.20"],"introduced":["0"],"last_affected":[],"package":"tracing-subscriber","purl":"pkg:cargo/tracing-subscriber","source":"GHSA-xwfj-jgwm-7wp5"},{"ecosystem":"crates.io","fixed":["0.3.20"],"introduced":["0.0.0-0"],"last_affected":[],"package":"tracing-subscriber","purl":"pkg:cargo/tracing-subscriber","source":"RUSTSEC-2025-0055"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["0.7.18+git.0.8485a75-150700.3.6.1"],"introduced":["0"],"last_affected":[],"package":"himmelblau","purl":"pkg:rpm/suse/himmelblau\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:3869-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["48.2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"loupe","purl":"pkg:rpm/suse/loupe\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:22380-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["1.8.7-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-maturin","purl":"pkg:rpm/suse/python-maturin\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20335-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["0.11.13-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-ruff","purl":"pkg:rpm/suse/python-ruff\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:23607-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["0.8.1-160000.2.1"],"introduced":["0"],"last_affected":[],"package":"rav1e","purl":"pkg:rpm/suse/rav1e\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:23567-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["48.2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"loupe","purl":"pkg:rpm/suse/loupe\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:22380-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["1.8.7-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-maturin","purl":"pkg:rpm/suse/python-maturin\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20335-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["0.11.13-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-ruff","purl":"pkg:rpm/suse/python-ruff\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:23607-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["0.8.1-160000.2.1"],"introduced":["0"],"last_affected":[],"package":"rav1e","purl":"pkg:rpm/suse/rav1e\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:23567-1"},{"ecosystem":"SUSE:Linux Micro 6.2","fixed":["1.8.7-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-maturin","purl":"pkg:rpm/suse/python-maturin\u0026distro=SUSE%20Linux%20Micro%206.2","source":"SUSE-SU-2026:20235-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.3.0+0-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"cargo-packaging","purl":"pkg:rpm/opensuse/cargo-packaging\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4091-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.4.0-150600.3.9.1"],"introduced":["0"],"last_affected":[],"package":"python-maturin","purl":"pkg:rpm/opensuse/python-maturin\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:03082-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.72.0-150600.13.3.1"],"introduced":["0"],"last_affected":[],"package":"rust-bindgen","purl":"pkg:rpm/opensuse/rust-bindgen\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4091-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["48.2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"loupe","purl":"pkg:rpm/opensuse/loupe\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21074-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.8.7-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-maturin","purl":"pkg:rpm/opensuse/python-maturin\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20180-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["0.11.13-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-ruff","purl":"pkg:rpm/opensuse/python-ruff\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21741-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["0.8.1-160000.2.1"],"introduced":["0"],"last_affected":[],"package":"rav1e","purl":"pkg:rpm/opensuse/rav1e\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21681-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.7.1-1.1"],"introduced":["0"],"last_affected":[],"package":"bpftop","purl":"pkg:rpm/opensuse/bpftop\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15512-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.0+0-2.1"],"introduced":["0"],"last_affected":[],"package":"cargo-packaging","purl":"pkg:rpm/opensuse/cargo-packaging\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15552-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.2.2+git.0.2d04bca-1.1"],"introduced":["0"],"last_affected":[],"package":"himmelblau","purl":"pkg:rpm/opensuse/himmelblau\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15517-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.9.4-1.1"],"introduced":["0"],"last_affected":[],"package":"python-maturin","purl":"pkg:rpm/opensuse/python-maturin\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15518-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.12.11-2.1"],"introduced":["0"],"last_affected":[],"package":"python-ruff","purl":"pkg:rpm/opensuse/python-ruff\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15519-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.8.14-2.1"],"introduced":["0"],"last_affected":[],"package":"python-uv","purl":"pkg:rpm/opensuse/python-uv\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15514-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.8.1-2.1"],"introduced":["0"],"last_affected":[],"package":"rav1e","purl":"pkg:rpm/opensuse/rav1e\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11028-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.28.2~0-2.1"],"introduced":["0"],"last_affected":[],"package":"rustup","purl":"pkg:rpm/opensuse/rustup\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15540-1"}],"prev":{"headline":"WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)","id":"CVE-2025-58159"},"products":["tracing"],"published":"2025-08-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-02","vendors":["tokio-rs"]},"summary":"Attackers can inject ANSI escape sequences into logs to manipulate terminal displays and mislead users via the tracing-subscriber library.","url":"https://insights.sbomify.com/CVE-2025-58160/"}