diff --git a/Cargo.lock b/Cargo.lock index 928cf23e5..7f9674b3a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1707,7 +1707,7 @@ dependencies = [ "tokenizers 0.22.2", "yoke 0.8.3", "zerocopy", - "zip", + "zip 8.6.0", ] [[package]] @@ -3075,7 +3075,7 @@ dependencies = [ "serde_json", "smallvec", "thiserror 2.0.20", - "zip", + "zip 8.6.0", ] [[package]] @@ -4508,7 +4508,7 @@ dependencies = [ "urlencoding", "webbrowser", "winapi", - "zip", + "zip 9.0.5", ] [[package]] @@ -5081,7 +5081,7 @@ dependencies = [ "tokio", "tokio-rustls", "tower-service", - "webpki-roots 1.0.9", + "webpki-roots 1.0.10", ] [[package]] @@ -5624,7 +5624,7 @@ dependencies = [ "tracing", "tracing-subscriber", "url", - "webpki-roots 1.0.9", + "webpki-roots 1.0.10", "ws_stream_wasm", ] @@ -6485,7 +6485,7 @@ dependencies = [ "tokio", "tokio-rustls", "tracing", - "webpki-roots 1.0.9", + "webpki-roots 1.0.10", ] [[package]] @@ -8515,7 +8515,7 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 1.0.9", + "webpki-roots 1.0.10", ] [[package]] @@ -8845,9 +8845,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" dependencies = [ "aws-lc-rs", "ring", @@ -9922,7 +9922,7 @@ dependencies = [ "tokio-stream", "tracing", "url", - "webpki-roots 1.0.9", + "webpki-roots 1.0.10", ] [[package]] @@ -10928,7 +10928,7 @@ dependencies = [ "time", "tokio", "tokio-rustls", - "webpki-roots 1.0.9", + "webpki-roots 1.0.10", "x509-parser", ] @@ -11545,7 +11545,7 @@ dependencies = [ "rgb", "sha2 0.11.0", "thousands", - "zip", + "zip 8.6.0", ] [[package]] @@ -12092,9 +12092,9 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +checksum = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb" dependencies = [ "rustls-pki-types", ] @@ -12105,14 +12105,14 @@ version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" dependencies = [ - "webpki-roots 1.0.9", + "webpki-roots 1.0.10", ] [[package]] name = "webpki-roots" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" dependencies = [ "rustls-pki-types", ] @@ -13089,6 +13089,21 @@ dependencies = [ "zopfli", ] +[[package]] +name = "zip" +version = "9.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e04976da629d3b04204ba8105b396a193af8ad2583b2c79bfb3ab8af580a11e" +dependencies = [ + "crc32fast", + "flate2", + "indexmap 2.14.2", + "memchr", + "nix", + "typed-path", + "zopfli", +] + [[package]] name = "zlib-rs" version = "0.6.8" diff --git a/Cargo.toml b/Cargo.toml index a4bbcd655..65ca757af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,7 +75,7 @@ webbrowser = { version = "1", default-features = false } which = { version = "8", default-features = false, features = ["real-sys"] } winapi = { version = "0.3.9", default-features = false, features = ["wincred", "std"] } wiremock = { version = "0.6", default-features = false } -zip = { version = "8", default-features = false, features = ["deflate"] } +zip = { version = "9", default-features = false, features = ["deflate"] } serial_test = { version = "4", default-features = false } sha2 = { version = "0.11", default-features = false } shell-words = { version = "1", default-features = false, features = ["std"] } diff --git a/deny.toml b/deny.toml index db75685a9..309189920 100644 --- a/deny.toml +++ b/deny.toml @@ -6,14 +6,26 @@ yanked = "deny" unmaintained = "none" unsound = "none" -ignore = [ - # rsa: Marvin Attack timing sidechannel. No safe upgrade is available, and - # the reachable path is through jsonwebtoken. - "RUSTSEC-2023-0071", - # zip 8 is yanked, but these crates require it unconditionally. Remove when - # releases supporting zip 9 are available: - # https://github.com/huggingface/candle/issues/4042 - # https://github.com/bokuweb/docx-rs/issues/943 - # https://github.com/MathNya/umya-spreadsheet/issues/383 - "zip@8.6.0", -] +[[advisories.ignore]] +id = "RUSTSEC-2023-0071" +reason = "rsa: Marvin Attack timing sidechannel. No safe upgrade is available; the reachable path is through jsonwebtoken." + +# These releases require zip 8 but only read or write individual archive entries; +# none calls ZipArchive::extract or ZipStreamReader::extract. Goose uses zip 9. +# Reassess if these dependencies or their zip callers change. Reviewed versions: +# candle-core 0.11.0, docx-rs 0.4.22, umya-spreadsheet 3.1.0. +# Remove when releases supporting zip 9 are available: +# https://github.com/huggingface/candle/issues/4042 +# https://github.com/bokuweb/docx-rs/issues/943 +# https://github.com/MathNya/umya-spreadsheet/issues/383 +[[advisories.ignore]] +id = "RUSTSEC-2026-0367" +reason = "The reviewed dependents do not call the extraction helpers that preserve privileged Unix permission bits." + +[[advisories.ignore]] +id = "RUSTSEC-2026-0368" +reason = "The reviewed dependents do not call the extraction helpers that create archive symlinks." + +[[advisories.ignore]] +id = "RUSTSEC-2026-0369" +reason = "The reviewed dependents do not call the extraction helpers that apply permissions through symlinks."