Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2025

Bumps tracing-subscriber from 0.3.18 to 0.3.20.

Release notes

Sourced from tracing-subscriber's releases.

tracing-subscriber 0.3.20

Security Fix: ANSI Escape Sequence Injection (CVE-TBD)

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.

Solution

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.

Affected Versions

All versions of tracing-subscriber prior to 0.3.20 are affected by this vulnerability.

Recommendations

Immediate Action Required: We recommend upgrading to tracing-subscriber 0.3.20 immediately, especially if your application:

  • Logs user-provided input (form data, HTTP headers, query parameters, etc.)
  • Runs in environments where terminal output is displayed to users

Migration

This is a patch release with no breaking API changes. Simply update your Cargo.toml:

[dependencies]
tracing-subscriber = "0.3.20"

Acknowledgments

We would like to thank zefr0x who responsibly reported the issue at [email protected].

If you believe you have found a security vulnerability in any tokio-rs project, please email us at [email protected].

tracing-subscriber 0.3.19

[ [crates.io][crate-0.3.19] ] | [ [docs.rs][docs-0.3.19] ]

This release updates the tracing dependency to [v0.1.41][tracing-0.1.41] and the tracing-serde dependency to [v0.2.0][tracing-serde-0.2.0].

Added

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.18 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-subscriber-0.3.18...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 10, 2025
Copy link

codspeed-hq bot commented Oct 10, 2025

CodSpeed Performance Report

Merging #5637 will not alter performance

Comparing dependabot/cargo/tracing-subscriber-0.3.20 (ede8727) with main (9a5a35d)

Summary

✅ 11 untouched

Copy link
Contributor

WASM Query Engine File Size

Engine This PR Base branch Diff
Postgres 2.191MiB 2.191MiB -284.000B
Postgres (gzip) 868.074KiB 867.881KiB 197.000B
Mysql 2.158MiB 2.159MiB -293.000B
Mysql (gzip) 854.452KiB 854.664KiB -217.000B
Sqlite 2.071MiB 2.071MiB -434.000B
Sqlite (gzip) 820.239KiB 820.102KiB 140.000B
SQL Server 2.129MiB 2.130MiB -433.000B
SQL Server (gzip) 844.887KiB 845.641KiB -772.000B
CockroachDB 2.213MiB 2.213MiB -401.000B
CockroachDB (gzip) 876.559KiB 876.964KiB -415.000B

WASM Query Compiler File Size

Engine This PR Base branch Diff
Postgres 1.861MiB 1.859MiB 1.865KiB
Postgres (gzip) 734.047KiB 733.869KiB 183.000B
Mysql 1.827MiB 1.825MiB 1.775KiB
Mysql (gzip) 722.301KiB 722.148KiB 157.000B
Sqlite 1.785MiB 1.783MiB 1.611KiB
Sqlite (gzip) 704.591KiB 704.437KiB 158.000B
SQL Server 1.857MiB 1.856MiB 959.000B
SQL Server (gzip) 735.048KiB 735.097KiB -50.000B
CockroachDB 1.885MiB 1.884MiB 1.884KiB
CockroachDB (gzip) 743.560KiB 743.478KiB 84.000B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants