From 633fd47b9bbac6d98c8753946d21402d5151fa9a Mon Sep 17 00:00:00 2001 From: Toni Bergholm Date: Sun, 22 Nov 2026 20:27:25 +0200 Subject: [PATCH 1/2] ci(deps): bump rustix to 1.1.6; accept unreachable heapless and chrono advisories rustix 1.1.6 fixes RUSTSEC-2026-0486 (xattr zero-length buffer UB). heapless 0.8 enters only through gix-hash -> faster-hex 0.10, which uses heapless only without its alloc feature. gix enables alloc, so no heapless code runs, and no gix-hash release uses faster-hex 2 yet. chrono is unmaintained, with no vulnerability, and enters only through tauri-utils -> serde_with. Both get audit ignores with removal gates. Closes #338, closes #345, closes #351, closes #352, closes #353, closes #354, closes #355, closes #356, closes #357, closes #358, closes #359 --- .github/workflows/audit.yml | 9 ++++++++- Cargo.lock | 16 ++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 2c41bb70..c6ec58f4 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -53,4 +53,11 @@ jobs: # 0411/0412/0414-0420; it was missing from this list (invisible # because unmaintained advisories only warn) until Scorecard's OSV # check counted it — OSTIF audit G-035. Same GTK4 removal gate. - ignore: RUSTSEC-2024-0416,RUSTSEC-2024-0412,RUSTSEC-2024-0413,RUSTSEC-2024-0418,RUSTSEC-2024-0411,RUSTSEC-2024-0417,RUSTSEC-2024-0414,RUSTSEC-2024-0415,RUSTSEC-2024-0420,RUSTSEC-2024-0419,RUSTSEC-2024-0370,RUSTSEC-2025-0081,RUSTSEC-2025-0075,RUSTSEC-2025-0080,RUSTSEC-2025-0100,RUSTSEC-2025-0098,RUSTSEC-2024-0429,RUSTSEC-2026-0173 + # - heapless 0.8 (RUSTSEC-2026-0574..0582) reaches us only through + # gix-hash -> faster-hex 0.10, which imports heapless solely under + # cfg(not(feature = "alloc")); gix enables alloc, so no heapless code + # runs. Remove when gix-hash moves to faster-hex >= 2 (heapless 0.9). + # - chrono (RUSTSEC-2026-0543, unmaintained, no vulnerability) reaches + # us only through tauri-utils -> serde_with; remove when Tauri drops + # it. + ignore: RUSTSEC-2024-0416,RUSTSEC-2024-0412,RUSTSEC-2024-0413,RUSTSEC-2024-0418,RUSTSEC-2024-0411,RUSTSEC-2024-0417,RUSTSEC-2024-0414,RUSTSEC-2024-0415,RUSTSEC-2024-0420,RUSTSEC-2024-0419,RUSTSEC-2024-0370,RUSTSEC-2025-0081,RUSTSEC-2025-0075,RUSTSEC-2025-0080,RUSTSEC-2025-0100,RUSTSEC-2025-0098,RUSTSEC-2024-0429,RUSTSEC-2026-0173,RUSTSEC-2026-0574,RUSTSEC-2026-0575,RUSTSEC-2026-0576,RUSTSEC-2026-0577,RUSTSEC-2026-0578,RUSTSEC-2026-0579,RUSTSEC-2026-0580,RUSTSEC-2026-0581,RUSTSEC-2026-0582,RUSTSEC-2026-0543 diff --git a/Cargo.lock b/Cargo.lock index eaf2607f..56edf172 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1379,7 +1379,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d045de693cb712d0b22c6a64be5b953f67b3ce00ab5ad3dd5d8b441886ab8e1a" dependencies = [ "quote", - "syn 3.0.10", + "syn 2.0.118", ] [[package]] @@ -1630,7 +1630,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -1822,7 +1822,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -5156,15 +5156,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 2.13.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -6312,7 +6312,7 @@ dependencies = [ "getrandom 0.4.3", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -7081,7 +7081,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] From 2b7a24fc5c1c0694a1eafcf2e67df65c0be152ae Mon Sep 17 00:00:00 2001 From: Toni Bergholm Date: Sun, 22 Nov 2026 20:29:04 +0200 Subject: [PATCH 2/2] ci(audit): name both faster-hex paths in heapless ignore note --- .github/workflows/audit.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index c6ec58f4..68d387be 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -54,10 +54,12 @@ jobs: # because unmaintained advisories only warn) until Scorecard's OSV # check counted it — OSTIF audit G-035. Same GTK4 removal gate. # - heapless 0.8 (RUSTSEC-2026-0574..0582) reaches us only through - # gix-hash -> faster-hex 0.10, which imports heapless solely under - # cfg(not(feature = "alloc")); gix enables alloc, so no heapless code - # runs. Remove when gix-hash moves to faster-hex >= 2 (heapless 0.9). - # - chrono (RUSTSEC-2026-0543, unmaintained, no vulnerability) reaches - # us only through tauri-utils -> serde_with; remove when Tauri drops - # it. + # faster-hex 0.10 (via gix-hash and gix-packetline), which imports + # heapless solely under cfg(not(feature = "alloc")); both enable + # faster-hex/std, so no heapless code runs. Remove when heapless 0.8 + # leaves Cargo.lock. + # - chrono (RUSTSEC-2026-0543, unmaintained, no vulnerability) is in + # the lockfile only as serde_with's optional chrono_0_4 dependency + # (via tauri-utils) and is never compiled; remove when it leaves + # Cargo.lock. ignore: RUSTSEC-2024-0416,RUSTSEC-2024-0412,RUSTSEC-2024-0413,RUSTSEC-2024-0418,RUSTSEC-2024-0411,RUSTSEC-2024-0417,RUSTSEC-2024-0414,RUSTSEC-2024-0415,RUSTSEC-2024-0420,RUSTSEC-2024-0419,RUSTSEC-2024-0370,RUSTSEC-2025-0081,RUSTSEC-2025-0075,RUSTSEC-2025-0080,RUSTSEC-2025-0100,RUSTSEC-2025-0098,RUSTSEC-2024-0429,RUSTSEC-2026-0173,RUSTSEC-2026-0574,RUSTSEC-2026-0575,RUSTSEC-2026-0576,RUSTSEC-2026-0577,RUSTSEC-2026-0578,RUSTSEC-2026-0579,RUSTSEC-2026-0580,RUSTSEC-2026-0581,RUSTSEC-2026-0582,RUSTSEC-2026-0543