Skip to content

fix(deps): Bump tauri-plugin-updater to 2.14.1 for zip 9 - #1995

Merged
omesser merged 2 commits into
mainfrom
fix/1994-zip-updater
Oct 31, 2026
Merged

omesser merged 2 commits into
mainfrom
fix/1994-zip-updater

Conversation

@omesser

@omesser omesser commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

tauri-plugin-updater 2.14.0 required zip ^4 and locked 4.6.1, which has three advisories fixed only in zip >= 9.0.5. Upstream released 2.14.1 on 2026-10-28 with zip 9 (#3698). tauri-plugin-updater = "2" already accepts 2.14.1, so Cargo.toml is unchanged. With the old zip gone, the cargo audit ignores for its advisories go too.

 Cargo.lock
-tauri-plugin-updater 2.14.0
+tauri-plugin-updater 2.14.1
-zip 4.6.1            (and its arbitrary / derive_arbitrary deps)
 zip 9.1.0            (now the only zip)
+base64 0.23          (new updater dep)
~13 crates (errno, rustix, tempfile, ...) link windows-sys 0.60.2 instead of 0.61.2 (see below)
 .cargo/
-└── audit.toml       # ignored RUSTSEC-2026-0367/0368/0369 for zip 4.6.1

Evidence

cargo tree -i zip --target all

Before:

zip v4.6.1
└── tauri-plugin-updater v2.14.0
    └── fidget v0.1.0

After (Cargo.lock has one name = "zip" entry):

zip v9.1.0
├── fidget v0.1.0
└── tauri-plugin-updater v2.14.1
    └── fidget v0.1.0
  • cargo clippy --workspace --all-targets -- -D warnings: clean (macOS).
  • cargo test --workspace: 1780 passed, 0 failed, 6 ignored.

Changelog for 2.14.1: base64 0.23, and zip 9. On Windows, Error::Extract now wraps zip 9's ZipError. We never match that variant, so no call site changes. The updater only uses zip on Windows, to unpack .zip-wrapped installers. Our release ships NSIS, and createUpdaterArtifacts stays false until #200. Signatures, endpoints, and installer handling did not change.

Why windows-sys moved. No crate changed version. Crates such as errno and tempfile accept a range (>=0.52, <0.62), and the lock already held 0.60.2 for keyring. When cargo update -p tauri-plugin-updater re-resolves, Cargo reuses the version already in the lock for those ranges. Running the same command on main's lockfile gives this exact file. Pinning those crates back to 0.61.2 with cargo update -p <crate> --precise doesn't settle: each round moves a different set between 0.52, 0.59, 0.60 and 0.61. 0.60.2 is inside every affected crate's declared range, and it only matters on Windows builds.

Merge Danger

  • Door: two-way. Revert the lockfile to undo it.
  • Blast Radius: the auto-updater, in Windows zip extraction only. No update flow ran live. Updater artifacts are off until Auto-update #200, so nothing in production uses this path yet.

Closes #1994

🤖 Generated with Claude Code

— Claude Code agent, on @omesser's behalf.

2.14.0 pinned zip ^4 (4.6.1), which carries three advisories fixed in
zip 9.0.5. 2.14.1 moves to zip 9, so the lock holds one zip (9.1.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
omesser

This comment was marked as outdated.

With zip 4.6.1 gone, the ignores would only hide these advisories if an
old zip came back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@omesser omesser left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soft CLEARED

Tip: af887529

What changed

  • Updater bump: Cargo.lock moves tauri-plugin-updater to 2.14.1, so zip 9.1.0 is the only zip left.
  • Audit ignores gone: .cargo/audit.toml is deleted, and the security.yml comment no longer names it.
  • PR body: now lists the windows-sys move and the removed audit file.

What is wrong

  • Nothing blocking.

Soft-FIX

  • None.

Verified on the box: cargo audit passes at this tip with no ignores and only allowed warnings, nothing in the tree still names audit.toml or the three zip advisories, and the branch merges cleanly with main.

— Cursor agent (Architect), on @omesser's behalf.

@omesser
omesser merged commit e422453 into main Oct 31, 2026
10 checks passed
@omesser
omesser deleted the fix/1994-zip-updater branch October 31, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tauri-plugin-updater pulls in a vulnerable zip 4.6.1

1 participant