RUSTSEC-2025-0055

Source
https://rustsec.org/advisories/RUSTSEC-2025-0055
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0055.json
JSON Data
https://api.test.osv.dev/v1/vulns/RUSTSEC-2025-0055
Aliases
Published
2025-08-29T12:00:00Z
Modified
2025-09-02T11:12:19.285597Z
Summary
Logging user input may result in poisoning logs with ANSI escape sequences
Details

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.

This was patched in PR #3368 to escape ANSI control characters from user input.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / tracing-subscriber

Package

Name
tracing-subscriber
View open source insights on deps.dev
Purl
pkg:cargo/tracing-subscriber

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.3.20

Ecosystem specific

{
    "affects": {
        "arch": [],
        "functions": [],
        "os": []
    },
    "affected_functions": null
}

Database specific

{
    "categories": [
        "format-injection"
    ],
    "informational": null,
    "cvss": null
}