zip
Affected
- introduced
1.3.0, fixed2.3.0(semver)
Fixed versions
2.3.0
Fix
- Fixed version
2.3.0cargo update -p zip --precise 2.3.0
Advisory
Also known as: CVE-2025-29787, GHSA-94vh-gphv-8pm8
Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write
In the archive extraction routine of affected versions of the zip crate, symbolic links earlier in the archive are allowed to be used for later files in the archive without validation of the final canonicalized path, allowing maliciously crafted archives to overwrite arbitrary files in the file system when extracted.
For more details, see the GitHub-hosted security advisory: https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8
Not rated by the source.
1.3.0, fixed 2.3.0 (semver)2.3.0
2.3.0cargo update -p zip --precise 2.3.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC BY 4.0
This record names its own licence, CC BY 4.0, which differs from the source's (CC0-1.0).