Skip to content

← Public intelligence

crates.io package

tracing-subscriber

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Low, CVSS 2.3crates.ioPublished

    Tracing logging user input may result in poisoning logs with ANSI escape sequences

    CVE-2025-58160 · GHSA-xwfj-jgwm-7wp5

    Affected
    • crates.io tracing-subscriber < 0.3.20
    Fixed in
    0.3.20· Vendor fix available
    Issue
    Impact Previous versions of tracing-subscriber were 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 - Potentially mislead users through terminal manipulation In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator. Patches tracing-subscriber version 0.3.20 fixes this vulnerability by escaping ANSI control characters in when writing events to destinations that may be printed to the terminal. Workarounds Avoid printing logs to terminal emulators without escaping ANSI control sequences. References https://www.packetlabs.net/posts/weaponizing-ansi-escape-sequences/ Acknowledgments We would like to thank zefr0x who…

    Recommended action: Upgrade to 0.3.20 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →