Skip to content

chore(deps): drop the zip advisories from KNOWN_ACCEPTED once tauri-plugin-updater moves to zip ≥ 9 #760

Closed

Description

@EVWorth

What is accepted

scripts/cargo-audit-check.sh lists three zip advisories in KNOWN_ACCEPTED, so cargo Audit passes while they stay open:

Advisory Problem Patched
RUSTSEC-2026-0367 Extraction keeps SUID/SGID bits zip ≥ 9.0.0
RUSTSEC-2026-0368 ZipArchive::extract creates symlinks that point outside the destination zip ≥ 9.0.0
RUSTSEC-2026-0369 extract() applies Unix permissions through symlinks zip ≥ 9.0.0

Why it can't be fixed here

zip 4.6.1 comes only from tauri-plugin-updater, and the latest release (2.13.3) still pins zip 4.x. It is a Windows-only dependency of the updater.

Why the risk was accepted

  • The updater calls ZipArchive::extract only after the download passes minisign verification against our public key. A malicious archive would need our release signing key.
  • It extracts only when the download is a zip archive. Our releases ship raw .exe / .msi (createUpdaterArtifacts: true, not v1-compatible), so the path is not reached.
  • The advisories concern Unix symlinks, permissions and SUID bits. The code is compiled for Windows only.

Done when

  • A tauri-plugin-updater release depends on zip ≥ 9.0.0 (Dependabot's Tauri group will offer it)
  • The three IDs are removed from KNOWN_ACCEPTED and from the script's header and summary text
  • cargo Audit is green without them

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesrust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions