From 2e026a043c85177b2d3cb6483e833644f23ec406 Mon Sep 17 00:00:00 2001 From: faumaray Date: Tue, 20 Oct 2026 08:46:58 +0300 Subject: [PATCH] Update rustls and yoke-derive for cargo deny, ignore wasapi until 0.25 cargo deny check failed on the advisories of the base lock: - rustls 0.23.45 (RUSTSEC-2026-0346 to 0349: Debug output of client session values, buffered data after ECH rejection, unbounded brotli certificate decompression, ServerHello downgrade): cargo update -p rustls --precise 0.23.46, which the advisories name as the fix. - yoke-derive 0.8.3 was yanked: cargo update -p yoke-derive --precise 0.8.4. - wasapi 0.24.0 (RUSTSEC-2026-0332, unsound WaveFormat::parse): the fix is wasapi 0.25.0, a breaking release of a Windows-only dependency of voelin-media, which the Linux CI can neither build nor test, so it is not a semver update. voelin-media never calls WaveFormat::parse (it only builds formats with WaveFormat::new). deny.toml ignores the advisory with that reason and a date: remove by 2026-12-20, by upgrading wasapi on a Windows machine. cargo-deny cannot enforce the date; the comment and the reason say it. Cargo.lock changes only those two packages (cargo's re-resolution also moved tempfile to getrandom 0.3.4; that is put back to 0.4.3 by hand so the diff is the advisories' and nothing else; cargo metadata --locked accepts it). THIRD_PARTY_NOTICES.md is regenerated (scripts/notices.sh, cargo-about 0.9.2) for the two version numbers. cargo deny --locked --workspace check: advisories, bans, licenses and sources ok. Co-Authored-By: Claude Sonnet 5.5 --- Cargo.lock | 8 ++++---- THIRD_PARTY_NOTICES.md | 4 ++-- deny.toml | 9 +++++++++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aea5df7..c0e06a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7149,9 +7149,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.45" +version = "0.23.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" dependencies = [ "aws-lc-rs", "once_cell", @@ -11020,9 +11020,9 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33811428bee40dbceb6d545e95754741d17a6aef9a4849f0fd62e2ba4f412a78" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" dependencies = [ "proc-macro2", "quote", diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index c005bf3..7aa38c6 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -4150,7 +4150,7 @@ DEALINGS IN THE SOFTWARE. ```` -Used by: hyper-rustls 0.27.10, rustls-native-certs 0.8.4, rustls 0.23.45 +Used by: hyper-rustls 0.27.10, rustls-native-certs 0.8.4, rustls 0.23.46 ````text Copyright (c) 2016 Joseph Birr-Pixton @@ -11796,7 +11796,7 @@ authorization of the copyright holder. ```` -Used by: fixed_decimal 0.7.2, icu_collections 2.3.0, icu_decimal 2.3.0, icu_decimal_data 2.3.0, icu_locale_core 2.3.0, icu_locale_fallback 2.3.0, icu_locale_fallback_data 2.3.0, icu_normalizer 2.3.0, icu_normalizer_data 2.3.0, icu_properties 2.3.0, icu_properties_data 2.3.0, icu_provider 2.3.1, icu_segmenter 2.3.0, icu_segmenter_data 2.3.0, litemap 0.8.3, potential_utf 0.1.6, tinystr 0.8.4, writeable 0.6.4, yoke-derive 0.8.3, yoke 0.8.3, zerofrom-derive 0.1.8, zerofrom 0.1.8, zerotrie 0.2.5, zerovec-derive 0.11.6, zerovec 0.11.8 +Used by: fixed_decimal 0.7.2, icu_collections 2.3.0, icu_decimal 2.3.0, icu_decimal_data 2.3.0, icu_locale_core 2.3.0, icu_locale_fallback 2.3.0, icu_locale_fallback_data 2.3.0, icu_normalizer 2.3.0, icu_normalizer_data 2.3.0, icu_properties 2.3.0, icu_properties_data 2.3.0, icu_provider 2.3.1, icu_segmenter 2.3.0, icu_segmenter_data 2.3.0, litemap 0.8.3, potential_utf 0.1.6, tinystr 0.8.4, writeable 0.6.4, yoke-derive 0.8.4, yoke 0.8.3, zerofrom-derive 0.1.8, zerofrom 0.1.8, zerotrie 0.2.5, zerovec-derive 0.11.6, zerovec 0.11.8 ````text UNICODE LICENSE V3 diff --git a/deny.toml b/deny.toml index 13bc519..5c6cba3 100644 --- a/deny.toml +++ b/deny.toml @@ -12,6 +12,15 @@ ignore = [ # keys, so russh needs RSA to verify the server's signature (a public-key # operation). We never hold an RSA private key: query logins use passwords. { id = "RUSTSEC-2023-0071", reason = "only RSA signature verification is used (SSH host keys)" }, + # TIME-LIMITED, remove by 2026-12-20 (entered 2026-10-20). `wasapi` 0.24.0: + # `WaveFormat::parse` is a safe fn that reads past the end of the + # `&WAVEFORMATEX` it is given. The fix is `wasapi` 0.25.0, a breaking + # release (the fn became `unsafe`) of a Windows-only dependency of + # voelin-media that the Linux CI can neither build nor test, so it is not + # a semver update. voelin-media never calls `WaveFormat::parse` (it only + # builds formats with `WaveFormat::new`); upgrade `wasapi` to 0.25 on a + # Windows machine, then delete this entry. + { id = "RUSTSEC-2026-0332", reason = "voelin-media does not call wasapi's WaveFormat::parse; the fix is the breaking wasapi 0.25 (Windows-only), upgrade by 2026-12-20" }, ] [licenses]