Vulnerability RUSTSEC-2025-0055

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
1 year ago
August 29, 2025 at 12:00 PM UTC
Logging user input may result in poisoning logs with ANSI escape sequences
0.0.0 and 0.1.0 - 0.1.6 and 0.2.0 - 0.3.19
0.0.0 and 0.1.0 - 0.1.6 and 0.2.0 - 0.3.19

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.

Impacted packages

Timeline

Published
1 year ago
August 29, 2025 at 12:00 PM UTC
Fixed (0.3.20)
1 year ago
August 29, 2025 at 07:10 PM UTC
Last Modified
1 hour ago
October 12, 2026 at 06:00 PM UTC