Skip to content

fix: bump tar 0.4.46 (GHSA-3pv8-6f4r-ffg2, PAX header desync) - #53

Merged
elementalcollision merged 1 commit into
mainfrom
fix/tar-pax-desync-ghsa-3pv8
Jun 12, 2026
Merged

elementalcollision merged 1 commit into
mainfrom
fix/tar-pax-desync-ghsa-3pv8

Conversation

@elementalcollision

Copy link
Copy Markdown
Owner

Summary

Resolves the open moderate Dependabot alert: GHSA-3pv8-6f4r-ffg2 — tar-rs ≤ 0.4.45 applies PAX headers to the next entry of any type instead of the next file entry, letting a contrived archive extract differently on tar-rs than on other parsers (stream desynchronization → parser-differential extraction).

Our exposure

tar 0.4.45 is a transitive dependency: app → tauri-plugin-updater 2.10.1 → tar. It's used to extract the self-update .app.tar.gz. Practical risk is low — the updater verifies the archive's minisign signature against our pinned pubkey before extraction, so exploitation would require a malicious archive signed with our key. Patched upstream regardless.

Change

cargo update -p tar --precise 0.4.46 — lockfile only, no manifest changes. 67 cargo tests pass, clippy clean.

🤖 Generated with Claude Code

PAX header desynchronization in tar-rs: a contrived archive with
extension headers before a file entry extracts differently on tar-rs
than on other tar parsers. Reaches us through tauri-plugin-updater,
which untars the self-update archive — mitigated in practice by the
minisign signature check that precedes extraction, but patched
upstream so there is no reason to carry it.

Lockfile-only change; cargo test + clippy clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@elementalcollision
elementalcollision merged commit 5635d4e into main Jun 12, 2026
2 checks passed
@elementalcollision
elementalcollision deleted the fix/tar-pax-desync-ghsa-3pv8 branch June 12, 2026 16:01
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.

1 participant