Skip to content

Commit 46804c5

Browse files
Bump tracing-subscriber from 0.3.19 to 0.3.20 (#4328)
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing-subscriber's releases</a>.</em></p> <blockquote> <h2>tracing-subscriber 0.3.20</h2> <p><strong>Security Fix</strong>: ANSI Escape Sequence Injection (CVE-TBD)</p> <h2>Impact</h2> <p>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:</p> <ul> <li>Manipulate terminal title bars</li> <li>Clear screens or modify terminal display</li> <li>Potentially mislead users through terminal manipulation</li> </ul> <p>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.</p> <h2>Solution</h2> <p>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.</p> <h2>Affected Versions</h2> <p>All versions of tracing-subscriber prior to 0.3.20 are affected by this vulnerability.</p> <h2>Recommendations</h2> <p>Immediate Action Required: We recommend upgrading to tracing-subscriber 0.3.20 immediately, especially if your application:</p> <ul> <li>Logs user-provided input (form data, HTTP headers, query parameters, etc.)</li> <li>Runs in environments where terminal output is displayed to users</li> </ul> <h2>Migration</h2> <p>This is a patch release with no breaking API changes. Simply update your Cargo.toml:</p> <pre lang="toml"><code>[dependencies] tracing-subscriber = &quot;0.3.20&quot; </code></pre> <h2>Acknowledgments</h2> <p>We would like to thank <a href="http://github.com/zefr0x">zefr0x</a> who responsibly reported the issue at <code>security@tokio.rs</code>.</p> <p>If you believe you have found a security vulnerability in any tokio-rs project, please email us at <code>security@tokio.rs</code>.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tracing/commit/4c52ca5266a3920fc5dfeebda2accf15ee7fb278"><code>4c52ca5</code></a> fmt: fix ANSI escape sequence injection vulnerability (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3368">#3368</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/f71cebe41e4c12735b1d19ca804428d4ff7d905d"><code>f71cebe</code></a> subscriber: impl Clone for EnvFilter (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3360">#3360</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/3a1f571102b38bcdca13d59f3c454989d179055d"><code>3a1f571</code></a> Fix CI (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3361">#3361</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/e63ef57f3d686abe3727ddd586eb9af73d6715b7"><code>e63ef57</code></a> chore: prepare tracing-attributes 0.1.30 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3316">#3316</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/6e59a13b1a7bcdd78b8b5a7cbcf70a0b2cdd76f0"><code>6e59a13</code></a> attributes: fix tracing::instrument regression around shadowing (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3311">#3311</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/e4df76127538aa8370d7dee32a6f84bbec6bbf10"><code>e4df761</code></a> tracing: update core to 0.1.34 and attributes to 0.1.29 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3305">#3305</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/643f392ebb73c4fb856f56a78c066c82582dd22c"><code>643f392</code></a> chore: prepare tracing-attributes 0.1.29 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3304">#3304</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/d08e7a6eea1833810ea527e18ea03b08cd402c9d"><code>d08e7a6</code></a> chore: prepare tracing-core 0.1.34 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3302">#3302</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/6e70c571d319a033d5f37c885ccf99aa675a9eac"><code>6e70c57</code></a> tracing-subscriber: count numbers of enters in <code>Timings</code> (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2944">#2944</a>)</li> <li><a href="https://github.com/tokio-rs/tracing/commit/c01d4fd9def2fb061669a310598095c789ca0a32"><code>c01d4fd</code></a> fix docs and enable CI on <code>main</code> branch (<a href="https://redirect.github.com/tokio-rs/tracing/issues/3295">#3295</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tracing-subscriber&package-manager=cargo&previous-version=0.3.19&new-version=0.3.20)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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](https://github.com/model-checking/kani/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent f0be467 commit 46804c5

File tree

4 files changed

+17
-48
lines changed

4 files changed

+17
-48
lines changed

Cargo.lock

Lines changed: 14 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
197197
checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
198198
dependencies = [
199199
"memchr",
200-
"regex-automata 0.4.10",
200+
"regex-automata",
201201
"serde",
202202
]
203203

@@ -1271,11 +1271,11 @@ dependencies = [
12711271

12721272
[[package]]
12731273
name = "matchers"
1274-
version = "0.1.0"
1274+
version = "0.2.0"
12751275
source = "registry+https://github.com/rust-lang/crates.io-index"
1276-
checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
1276+
checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9"
12771277
dependencies = [
1278-
"regex-automata 0.1.10",
1278+
"regex-automata",
12791279
]
12801280

12811281
[[package]]
@@ -1339,16 +1339,6 @@ dependencies = [
13391339
"nom",
13401340
]
13411341

1342-
[[package]]
1343-
name = "nu-ansi-term"
1344-
version = "0.46.0"
1345-
source = "registry+https://github.com/rust-lang/crates.io-index"
1346-
checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
1347-
dependencies = [
1348-
"overload",
1349-
"winapi",
1350-
]
1351-
13521342
[[package]]
13531343
name = "nu-ansi-term"
13541344
version = "0.50.1"
@@ -1487,12 +1477,6 @@ dependencies = [
14871477
"windows-sys 0.52.0",
14881478
]
14891479

1490-
[[package]]
1491-
name = "overload"
1492-
version = "0.1.1"
1493-
source = "registry+https://github.com/rust-lang/crates.io-index"
1494-
checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
1495-
14961480
[[package]]
14971481
name = "parking_lot"
14981482
version = "0.12.4"
@@ -1727,17 +1711,8 @@ checksum = "23d7fd106d8c02486a8d64e778353d1cffe08ce79ac2e82f540c86d0facf6912"
17271711
dependencies = [
17281712
"aho-corasick",
17291713
"memchr",
1730-
"regex-automata 0.4.10",
1731-
"regex-syntax 0.8.6",
1732-
]
1733-
1734-
[[package]]
1735-
name = "regex-automata"
1736-
version = "0.1.10"
1737-
source = "registry+https://github.com/rust-lang/crates.io-index"
1738-
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
1739-
dependencies = [
1740-
"regex-syntax 0.6.29",
1714+
"regex-automata",
1715+
"regex-syntax",
17411716
]
17421717

17431718
[[package]]
@@ -1748,15 +1723,9 @@ checksum = "6b9458fa0bfeeac22b5ca447c63aaf45f28439a709ccd244698632f9aa6394d6"
17481723
dependencies = [
17491724
"aho-corasick",
17501725
"memchr",
1751-
"regex-syntax 0.8.6",
1726+
"regex-syntax",
17521727
]
17531728

1754-
[[package]]
1755-
name = "regex-syntax"
1756-
version = "0.6.29"
1757-
source = "registry+https://github.com/rust-lang/crates.io-index"
1758-
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
1759-
17601729
[[package]]
17611730
name = "regex-syntax"
17621731
version = "0.8.6"
@@ -2319,15 +2288,15 @@ dependencies = [
23192288

23202289
[[package]]
23212290
name = "tracing-subscriber"
2322-
version = "0.3.19"
2291+
version = "0.3.20"
23232292
source = "registry+https://github.com/rust-lang/crates.io-index"
2324-
checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008"
2293+
checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5"
23252294
dependencies = [
23262295
"matchers",
2327-
"nu-ansi-term 0.46.0",
2296+
"nu-ansi-term",
23282297
"once_cell",
23292298
"parking_lot",
2330-
"regex",
2299+
"regex-automata",
23312300
"serde",
23322301
"serde_json",
23332302
"sharded-slab",
@@ -2345,7 +2314,7 @@ version = "0.4.0"
23452314
source = "registry+https://github.com/rust-lang/crates.io-index"
23462315
checksum = "f459ca79f1b0d5f71c54ddfde6debfc59c8b6eeb46808ae492077f739dc7b49c"
23472316
dependencies = [
2348-
"nu-ansi-term 0.50.1",
2317+
"nu-ansi-term",
23492318
"tracing-core",
23502319
"tracing-log",
23512320
"tracing-subscriber",
@@ -2356,7 +2325,7 @@ name = "tracing-tree"
23562325
version = "0.4.0"
23572326
source = "git+https://github.com/Nadrieril/tracing-tree#841286bfffd3c2200810244506cd127013dbeff9"
23582327
dependencies = [
2359-
"nu-ansi-term 0.50.1",
2328+
"nu-ansi-term",
23602329
"time",
23612330
"tracing-core",
23622331
"tracing-log",
@@ -2371,7 +2340,7 @@ checksum = "6d7b8994f367f16e6fa14b5aebbcb350de5d7cbea82dc5b00ae997dd71680dd2"
23712340
dependencies = [
23722341
"cc",
23732342
"regex",
2374-
"regex-syntax 0.8.6",
2343+
"regex-syntax",
23752344
"serde_json",
23762345
"streaming-iterator",
23772346
"tree-sitter-language",

kani-compiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ strum = "0.27.1"
2525
strum_macros = "0.27.1"
2626
syn = { version = "2.0.72", features = ["parsing", "extra-traits"] }
2727
tracing = {version = "0.1", features = ["max_level_trace", "release_max_level_debug"]}
28-
tracing-subscriber = {version = "0.3.8", features = ["env-filter", "json", "fmt"]}
28+
tracing-subscriber = {version = "0.3.20", features = ["env-filter", "json", "fmt"]}
2929
tracing-tree = "0.4.0"
3030

3131
# Future proofing: enable backend dependencies using feature.

kani-driver/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ strum = {version = "0.27.1"}
3131
strum_macros = {version = "0.27.1"}
3232
tempfile = "3"
3333
tracing = {version = "0.1", features = ["max_level_trace", "release_max_level_debug"]}
34-
tracing-subscriber = {version = "0.3.8", features = ["env-filter", "json", "fmt"]}
34+
tracing-subscriber = {version = "0.3.20", features = ["env-filter", "json", "fmt"]}
3535
which = "8"
3636
time = {version = "0.3.36", features = ["formatting"]}
3737
tokio = { version = "1.40.0", features = ["io-util", "process", "rt", "time"] }

tools/compiletest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ publish = false
1919
[dependencies]
2020
getopts = "0.2"
2121
tracing = "0.1"
22-
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
22+
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
2323
serde = { version = "1.0", features = ["derive"] }
2424
serde_json = "1.0"
2525
serde_yaml = "0.9"

0 commit comments

Comments
 (0)