CVE-2025-29787

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-29787
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29787.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-29787
Aliases
Related
Published
2025-03-17T14:15:22Z
Modified
2025-05-28T10:40:31.580383Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/zip-rs/zip2

Affected ranges

Type
GIT
Repo
https://github.com/zip-rs/zip2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.10.3
0.11.0

1.*

1.0.0
1.0.1
1.1.0
1.1.1

v0.*

v0.5.11
v0.5.12
v0.5.7
v0.5.8
v0.5.9
v0.6.4

v1.*

v1.1.2
v1.1.3
v1.1.4
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1

v2.*

v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.2.0
v2.2.1
v2.2.2
v2.2.3