From 3934fcb6be5d807acf75cbae2eba2e91892e7fff Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Wed, 21 Oct 2026 17:18:28 +0200 Subject: [PATCH] chore(audit): Ignore zip extract() advisories we do not reach RUSTSEC-2026-0367/0368/0369 (zip 2.4.2) affect ZipArchive::extract() and ZipStreamReader::extract() only. ingest/archive.rs extracts entry by entry, skips paths enclosed_name() rejects and writes file contents only, so no symlinks or Unix modes are ever applied. They failed this PR's security audit although the PR does not touch zip; zip 9.x is a separate follow-up. Co-Authored-By: Claude Opus 5.5 --- .cargo/audit.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 741d212..b2518ec 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -1,5 +1,16 @@ [advisories] ignore = [ + # zip 2.4.2 — RUSTSEC-2026-0367/0368/0369 (published 2026-10): SUID/SGID + # bits, symlink targets and permissions applied through symlinks, all in + # ZipArchive::extract() / ZipStreamReader::extract(). We never call + # those: ingest/archive.rs walks the entries itself, skips any path that + # enclosed_name() rejects, and writes file contents only — no symlinks, + # no Unix modes. The fix is zip >= 9.0.0, a major jump from our "2". + # FOLLOW-UP: bump zip to 9.x in its own PR (backlog), then drop these. + "RUSTSEC-2026-0367", + "RUSTSEC-2026-0368", + "RUSTSEC-2026-0369", + # hickory-proto 0.25.x pulled in transitively via mongodb → hickory-resolver. # MongoDB 3.x has not yet released with hickory-resolver 0.26.x, so we cannot # upgrade past this without a mongodb release. Both are DNS-layer DoS vectors