Repository navigation
fix: bump tar 0.4.46 (GHSA-3pv8-6f4r-ffg2, PAX header desync) - #53
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.45is 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