Repository navigation
Update Rust crate zip to v9 [SECURITY] - #2956
Open
renovate[bot] wants to merge 2 commits into
Open
renovate[bot] wants to merge 2 commits into
renovate[bot] wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
renovate
Bot
force-pushed
the
renovate/crate-zip-vulnerability
branch
from
October 17, 2026 09:33
aef3923 to
2014bdb
Compare
renovate
Bot
force-pushed
the
renovate/crate-zip-vulnerability
branch
from
October 18, 2026 12:40
2014bdb to
0e472ba
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This branch was successfully deployed
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.
This PR contains the following updates:
8.0.0→9.0.08.0.0→9.0.0Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation
GHSA-vv5m-jxxh-4627 / RUSTSEC-2026-0367
More information
Details
The
zipcrate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIPexternal_attributesduring extraction, instead of masking them to safe permission bits. If a privileged process (for example,rootin an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive usingZipArchive::extract()or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows the creation of SUID/SGID files during extraction, which can lead to local privilege escalation depending on the execution environment.For further details see: GHSA-vv5m-jxxh-4627
Severity
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HReferences
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
zip:
ZipArchive::extractcreates symbolic links whose attacker-controlled targets are outside the destination directoryGHSA-4v9h-p7m9-rh26 / RUSTSEC-2026-0368
More information
Details
In
zip9.0.0-pre2,ZipArchive::extractcreates a symbolic link from an archive entry after validating only the output entry path. The link target bytes are passed directly to the platform symlink API, so a malicious archive can create an entry inside the destination that resolves to an attacker-chosen path outside it. This behavior was verified on macOS and Linux. On either platform, a subsequent application read or write through that extracted entry accesses the external target with the extracting process's permissions.For further details see: GHSA-4v9h-p7m9-rh26
Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target
GHSA-4684-h2q9-2vcp / RUSTSEC-2026-0369
More information
Details
ZipStreamReader::extract()applies Unix permissions through extracted symlinks without validating the symlink target stays within the destinationFor further details see: GHSA-4684-h2q9-2vcp
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HReferences
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Release Notes
zip-rs/zip2 (zip)
v9.0.0Compare Source
🚀 Features
by_index_with_data_descriptor(#994)ZipWriter::hide_filefor in-place entry deletion (#924)aes_modetoaes_settings()in ZipFileData (#925)🐛 Bug Fixes
🚜 Refactor
ZipFileFlagsto wrapflags(#947)crate::formatwithzip::unstable::format(#944)format/functions.rs(#943)make_reader()function (#936)initialize_local_block(#934)write/options.rs(#931)⚙️ Miscellaneous Tasks
Fix
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.