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-03-18T08:54:25.082037Z
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

Debian:11 / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/debian/rust-zip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.5.8-2
0.5.13-1
0.6.3-1
0.6.3-2
0.6.3-3
0.6.6-1
0.6.6-2
0.6.6-3
0.6.6-4
0.6.6-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/debian/rust-zip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.6.3-3
0.6.6-1
0.6.6-2
0.6.6-3
0.6.6-4
0.6.6-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / rust-zip

Package

Name
rust-zip
Purl
pkg:deb/debian/rust-zip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.6.3-3
0.6.6-1
0.6.6-2
0.6.6-3
0.6.6-4
0.6.6-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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

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