CVE-2025-29787
Reported by github_m · Published March 17, 2025
zip is fixed in 2.3.0 (crates.io)
`zip` is a zip library for rust which supports reading and writing of simple ZIP files. In the archive extraction routine of affected versions of the `zip` crate starting with version 1.3.0 and prior to version 2.3.0, 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. Users who extract untrusted archive files using the following high-level API method may be affected and critical files on the system may be overwritten with arbitrary file permissions, which can potentially lead to code execution. Version 2.3.0 fixes the issue.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| zip | crates.io | 2.3.0 |
| pixi | Wolfi | 0.43.0-r0 |
| geckodriver | Wolfi | 0.36.0-r1 |
| pixi | Chainguard | 0.43.0-r0 |
| nushell | Chainguard | 0.102.0-r2 |
| geckodriver | Chainguard | 0.36.0-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| zip-rs | zip2 | >= 1.3.0, < 2.3.0 |
| wolfi | pixi | 0 |
| wolfi | geckodriver | 0 |
| chainguard | pixi | 0 |
| chainguard | nushell | 0 |
| crates.io | zip | 1.3.0 |
| chainguard | geckodriver | 0 |
| zip-rs | zip2 | 1.3.0 |
| chainguard | deno | 0 |
| wolfi | nushell | 0 |
| chainguard | fnm | 0 |
| wolfi | deno | 0 |
| chainguard | wasm-pack | 0 |
| wolfi | wasm-pack | 0 |
Timeline
- Mar 16, 2025 CVE Published
- Mar 17, 2025 PoC Published
- Mar 18, 2025 EPSS Score (30 in total, the first dated here)
- Mar 19, 2025 CVE Updated
- Apr 2, 2026 Security Advisory
- Jun 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-29787
vulnetix vdb fixes CVE-2025-29787
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-29787/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8 x_refsource_CONFIRM
- https://github.com/zip-rs/zip2/commit/a2e062f37066c3b12860a32eb1cb44856cfb7afe x_refsource_MISC
- https://gist.github.com/eternal-flame-AD/bf71ef4f6828e741eb12ce7fd47b7b85 x_refsource_MISC
- https://github.com/zip-rs/zip2/releases/tag/v2.3.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-29787 advisory
- https://github.com/advisories/GHSA-94vh-gphv-8pm8 advisory
- https://github.com/zip-rs/zip2 url