From c585bc706fef018370eb5e9bab253ff9a42dd4d0 Mon Sep 17 00:00:00 2001 From: Sylvester Damgaard Date: Sat, 21 Nov 2026 00:32:36 +0000 Subject: [PATCH] fix(deps): rustix 1.1.6 for RUSTSEC-2026-0486; ignore unmaintained chrono and humantime cargo-deny started failing on three advisories published after main last ran green: - RUSTSEC-2026-0486 (unsound xattr functions in rustix 1.1.4): fixed by upgrading rustix to 1.1.6. - RUSTSEC-2026-0543 (chrono unmaintained): reached only through arrow and parquet, no fixed version. Ignored with a reason; revisit on arrow upgrades. - RUSTSEC-2026-0542 (humantime unmaintained): humantime has no dependencies. Replacing it changes which duration strings config files accept, so that is its own reviewed change. Ignored with a reason. --- Cargo.lock | 14 +++++++------- deny.toml | 13 ++++++++++++- sbom.json | 8 ++++---- 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bcef83e0..2ae6814f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -913,7 +913,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2067,15 +2067,15 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags", "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2132,7 +2132,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -2600,7 +2600,7 @@ dependencies = [ "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -3162,7 +3162,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/deny.toml b/deny.toml index 443416ce..772ff036 100644 --- a/deny.toml +++ b/deny.toml @@ -9,7 +9,18 @@ targets = [ [advisories] version = 2 yanked = "deny" -ignore = [] +ignore = [ + # Unmaintained, not a vulnerability: chrono's maintainers stepped back + # (chronotope/chrono#1768) and no release fixes "unmaintained". We do not use it; + # it arrives only through arrow-arith/arrow-array/arrow-cast and parquet, so it + # leaves when arrow moves off it. Revisit on every arrow upgrade. + { id = "RUSTSEC-2026-0543", reason = "unmaintained chrono, transitive via arrow/parquet only; no fixed version exists" }, + # Unmaintained, not a vulnerability. The advisory says humantime wraps chrono; + # humantime 2.4.0 has no dependencies at all. We use it to parse and print config + # durations (`7d`, `100ms`); swapping the parser changes which strings existing + # config files may hold, so that is a reviewed change of its own, not a CI fix. + { id = "RUSTSEC-2026-0542", reason = "unmaintained humantime (dependency-free); replacing it changes the config duration format" }, +] [licenses] version = 2 diff --git a/sbom.json b/sbom.json index cbb6e419..8be8dab1 100644 --- a/sbom.json +++ b/sbom.json @@ -1,7 +1,7 @@ { "bomFormat": "CycloneDX", "specVersion": "1.5", - "serialNumber": "urn:uuid:1a2f76f4-bb07-5a41-a514-90dced3762ed", + "serialNumber": "urn:uuid:92fce83d-fc2c-5235-951b-4c9740d5ff6c", "version": 1, "metadata": { "component": { @@ -4538,10 +4538,10 @@ }, { "type": "library", - "bom-ref": "pkg:cargo/rustix@1.1.4", + "bom-ref": "pkg:cargo/rustix@1.1.6", "name": "rustix", - "version": "1.1.4", - "purl": "pkg:cargo/rustix@1.1.4", + "version": "1.1.6", + "purl": "pkg:cargo/rustix@1.1.6", "description": "Safe Rust bindings to POSIX/Unix/Linux/Winsock-like syscalls", "licenses": [ {