Refresh dependency locks and RustSec advisory exceptions (#62067)

## What changed

- Update `zip` to `9.0.5`, its compression dependencies, and `libz-sys` to `1.1.33` in the Cargo and Bazel lockfiles.
- Remove the `RUSTSEC-2026-0410` and `RUSTSEC-2026-0418` exceptions now that `zstd-sys` and `libz-sys` meet their patched version thresholds.
- Add matching Cargo audit and deny exceptions for unmaintained `chrono` and three `hickory-proto` advisories affecting DNSSEC validation, which is disabled in the network proxy. Document conditions for removing or reassessing these exceptions.

GitOrigin-RevId: 13892515e348b41e41cc92b0c91823b119ec55db
This commit is contained in:
jif
2026-11-17 15:53:52 +00:00
committed by copyberry
parent 58627e6fea
commit 7444076df4
4 changed files with 68 additions and 40 deletions
+5 -3
View File
@@ -40,9 +40,11 @@ ignore = [
"RUSTSEC-2026-0391", # Codex, tonic and zip use zstd 0.13.3 without reusing borrowed contexts across streams. Remove when all paths use zstd >=0.14.3.
"RUSTSEC-2026-0398", # zstd 0.13.3 pulls in zstd-safe 7.2.4 with the affected seekable feature disabled. Remove when all paths use zstd-safe >=8.2.0.
"RUSTSEC-2026-0403", # zstd 0.13.3 pulls in zstd-safe 7.2.4. Codex, tonic and zip use read decoders or initialized output buffers and discard output on error. Remove when all paths use zstd-safe >=8.2.0.
"RUSTSEC-2026-0410", # zstd-safe 7.2.4 pulls in zstd-sys 2.0.16. Its allocator bug only affects wasm32, and Codex ships native binaries. Remove when the lockfile uses zstd-sys >=2.1.2.
# Reviewed 2026-10-29.
"RUSTSEC-2026-0418", # libz-sys 1.1.29 via curl-sys/curl in codex-http-client is Windows-only and skips the affected probe; cc is locked to 1.2.55 (<1.6.0). Remove when libz-sys >=1.1.31; reassess if used on Unix with cc >=1.6.0.
# Reviewed 2026-11-05.
"RUSTSEC-2026-0441", # pin-utils 0.1.0 via AWS Smithy and loom under tokio-graceful; unmaintained with no patched release; remove when these paths drop pin-utils
# Reviewed 2026-11-17.
"RUSTSEC-2026-0543", # chrono 0.4.43 is unmaintained; used directly across the workspace and through sqlx; no patched release; remove when these paths migrate to jiff/time or drop chrono
"RUSTSEC-2026-0549", # hickory-proto 0.25.2 via rama-dns/rama-tcp in codex-network-proxy; affected DNSSEC validation is disabled; reassess before enabling DNSSEC; remove when the Rama upgrade uses Hickory >=0.26.2
"RUSTSEC-2026-0550", # hickory-proto 0.25.2 via rama-dns/rama-tcp in codex-network-proxy; affected DNSSEC validation is disabled; reassess before enabling DNSSEC; remove when the Rama upgrade uses Hickory >=0.26.2
"RUSTSEC-2026-0551", # hickory-proto 0.25.2 via rama-dns/rama-tcp in codex-network-proxy; affected DNSSEC validation is disabled; reassess before enabling DNSSEC; remove when the Rama upgrade uses Hickory >=0.26.2
]
+51 -29
View File
@@ -2316,7 +2316,7 @@ dependencies = [
"tracing",
"ts-rs",
"uuid",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -2391,7 +2391,7 @@ dependencies = [
"url",
"uuid",
"wiremock",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -2671,7 +2671,7 @@ dependencies = [
"which 8.0.0",
"windows-sys 0.61.2",
"wiremock",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -3169,7 +3169,7 @@ dependencies = [
"whoami 1.6.1",
"windows-sys 0.61.2",
"wiremock",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -3338,7 +3338,7 @@ dependencies = [
"uuid",
"walkdir",
"wiremock",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -3828,7 +3828,7 @@ dependencies = [
"tracing",
"uuid",
"wiremock",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -3994,7 +3994,7 @@ dependencies = [
"tracing-subscriber",
"url",
"windows-sys 0.61.2",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -4915,7 +4915,7 @@ dependencies = [
"tokio",
"tracing",
"uuid",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -4933,7 +4933,7 @@ dependencies = [
"tempfile",
"tracing",
"uuid",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -5218,7 +5218,7 @@ dependencies = [
"tokio",
"tracing",
"uuid",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -5999,8 +5999,8 @@ dependencies = [
"compression-core",
"flate2",
"memchr",
"zstd",
"zstd-safe",
"zstd 0.13.3",
"zstd-safe 7.2.4",
]
[[package]]
@@ -6088,9 +6088,12 @@ checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
[[package]]
name = "constant_time_eq"
version = "0.4.2"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
checksum = "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9"
dependencies = [
"rustversion",
]
[[package]]
name = "convert_case"
@@ -6235,7 +6238,7 @@ dependencies = [
"tracing-subscriber",
"walkdir",
"wiremock",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -10418,9 +10421,9 @@ dependencies = [
[[package]]
name = "libz-sys"
version = "1.1.29"
version = "1.1.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85bc9657773828b90eeb625adff10eeac83cc21bbfd8e23a03eaa8a33c9e28d9"
checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045"
dependencies = [
"cc",
"libc",
@@ -10597,9 +10600,9 @@ dependencies = [
[[package]]
name = "lzma-rust2"
version = "0.21.0"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fde178a3caf126c440fa15628147772d8ee590a39477d711353fbe2e58a73a5b"
checksum = "7277c9742229dc25243236d578b6471a798c554512c6f6a04365ec2e87c2a3bb"
dependencies = [
"sha2 0.11.0",
]
@@ -11643,7 +11646,7 @@ dependencies = [
"tokio",
"tonic",
"tracing",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -16398,7 +16401,7 @@ dependencies = [
"tower-layer",
"tower-service",
"tracing",
"zstd",
"zstd 0.13.3",
]
[[package]]
@@ -18481,13 +18484,13 @@ dependencies = [
[[package]]
name = "zip"
version = "9.0.0"
version = "9.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "711e8c9646791c49b7eb799a19c4ae70a9b8372ddc6a1fa4778defd1e2aa5d5e"
checksum = "6e04976da629d3b04204ba8105b396a193af8ad2583b2c79bfb3ab8af580a11e"
dependencies = [
"aes 0.9.3",
"bzip2",
"constant_time_eq 0.4.2",
"constant_time_eq 0.6.1",
"crc32fast",
"deflate64",
"flate2",
@@ -18496,13 +18499,14 @@ dependencies = [
"indexmap 2.14.0",
"lzma-rust2",
"memchr",
"nix 0.31.3",
"pbkdf2 0.13.0",
"sha1 0.11.0",
"time",
"typed-path",
"zeroize",
"zopfli",
"zstd",
"zstd 0.14.3",
]
[[package]]
@@ -18554,7 +18558,16 @@ version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
dependencies = [
"zstd-safe",
"zstd-safe 7.2.4",
]
[[package]]
name = "zstd"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db3ae9bf90af6e40197bef767eeefc46ad6397420fe873830bd85e5fbbfb3c70"
dependencies = [
"zstd-safe 8.2.0",
]
[[package]]
@@ -18567,10 +18580,19 @@ dependencies = [
]
[[package]]
name = "zstd-sys"
version = "2.0.16+zstd.1.5.7"
name = "zstd-safe"
version = "8.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
checksum = "ded520f16b29e1a9b771c722221b2b0a0398c2316d9bb3c42b458a5414d7434b"
dependencies = [
"zstd-sys",
]
[[package]]
name = "zstd-sys"
version = "2.1.2+zstd.1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "481ada9c543b2323cbb7bbdbb5249177fbf0188ed959ed2c15e4b22421c84ed3"
dependencies = [
"cc",
"pkg-config",
+5 -3
View File
@@ -111,11 +111,13 @@ ignore = [
{ id = "RUSTSEC-2026-0391", reason = "Codex, tonic and zip use zstd 0.13.3 without reusing borrowed contexts across streams. Remove when all paths use zstd >=0.14.3." },
{ id = "RUSTSEC-2026-0398", reason = "zstd 0.13.3 pulls in zstd-safe 7.2.4 with the affected seekable feature disabled. Remove when all paths use zstd-safe >=8.2.0." },
{ id = "RUSTSEC-2026-0403", reason = "zstd 0.13.3 pulls in zstd-safe 7.2.4. Codex, tonic and zip use read decoders or initialized output buffers and discard output on error. Remove when all paths use zstd-safe >=8.2.0." },
{ id = "RUSTSEC-2026-0410", reason = "zstd-safe 7.2.4 pulls in zstd-sys 2.0.16. Its allocator bug only affects wasm32, and Codex ships native binaries. Remove when the lockfile uses zstd-sys >=2.1.2." },
# Reviewed 2026-10-29.
{ id = "RUSTSEC-2026-0418", reason = "libz-sys 1.1.29 via curl-sys/curl in codex-http-client is Windows-only and skips the affected probe; cc is locked to 1.2.55 (<1.6.0). Remove when libz-sys >=1.1.31; reassess if used on Unix with cc >=1.6.0." },
# Reviewed 2026-11-05.
{ id = "RUSTSEC-2026-0441", reason = "pin-utils 0.1.0 is unmaintained; pulled in via aws-smithy-http/aws-smithy-runtime/aws-smithy-types and loom under tokio-graceful; no patched release; remove when these dependency paths drop pin-utils" },
# Reviewed 2026-11-17.
{ id = "RUSTSEC-2026-0543", reason = "chrono 0.4.43 is unmaintained; used directly across the workspace and through sqlx; no patched release; remove when these paths migrate to jiff/time or drop chrono" },
{ id = "RUSTSEC-2026-0549", reason = "hickory-proto 0.25.2 via rama-dns/rama-tcp in codex-network-proxy; affected DNSSEC validation is disabled; reassess before enabling DNSSEC; remove when the Rama upgrade uses Hickory >=0.26.2" },
{ id = "RUSTSEC-2026-0550", reason = "hickory-proto 0.25.2 via rama-dns/rama-tcp in codex-network-proxy; affected DNSSEC validation is disabled; reassess before enabling DNSSEC; remove when the Rama upgrade uses Hickory >=0.26.2" },
{ id = "RUSTSEC-2026-0551", reason = "hickory-proto 0.25.2 via rama-dns/rama-tcp in codex-network-proxy; affected DNSSEC validation is disabled; reassess before enabling DNSSEC; remove when the Rama upgrade uses Hickory >=0.26.2" },
]
# If this is true, then cargo deny will use the git executable to fetch advisory database.
# If this is false, then it uses a built-in git library.