{"schemaVersion":3,"id":"CVE-2025-29787","aliases":["UBUNTU-CVE-2025-29787","CGA-2w8h-4whm-rh7m","CGA-5g2f-qvpj-w4p5","CGA-5gq7-83xq-5vxg","CGA-8892-fq3h-v6rr","CGA-8chm-c66w-x3p9","CGA-cfqg-qpg2-wf93","CGA-hcxf-8824-jxr3","CGA-hgv2-62wr-jcvm","CGA-jf8g-jwp8-8x78","CGA-mhpw-mrpm-ppc3","CGA-mx7q-3pwg-g5j9","CGA-mxfj-m96v-3hv7","CGA-qrw3-pj54-652m","CGA-wg8v-vfvr-486m","CGA-2989-hfrg-9c82","CGA-2rr7-hrhv-64cp","GHSA-94vh-gphv-8pm8","RUSTSEC-2025-0168"],"status":"published","duplicateOf":null,"title":null,"description":"`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.","dates":{"published":"2025-03-17T13:19:23.925Z","modified":"2025-03-19T15:50:49.160Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Crates.io","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00564,"percentile":0.45796,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.0040000000000000105,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0056},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0055,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0055,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0055,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00564,"percentile":0.45796}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0056,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00564,"percentile":0.45796}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following","description":"The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.","type":"weakness","status":"Incomplete","abstraction":"Compound","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/61.html"},{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize","description":"The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/180.html"}],"affected":[{"vendor":"chainguard","product":"deno","name":"deno","label":"deno","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/deno","purlType":"apk","versions":[{"text":"< 2.5.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.6-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"fnm","name":"fnm","label":"fnm","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/fnm","purlType":"apk","versions":[{"text":"< 1.38.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.38.1-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"geckodriver","name":"geckodriver","label":"geckodriver","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/geckodriver","purlType":"apk","versions":[{"text":"< 0.36.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nushell","name":"nushell","label":"nushell","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nushell","purlType":"apk","versions":[{"text":"< 0.102.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.102.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nushell-plugins","name":"nushell-plugins","label":"nushell-plugins","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nushell-plugins","purlType":"apk","versions":[{"text":"< 0.102.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.102.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"pixi","name":"pixi","label":"pixi","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pixi","purlType":"apk","versions":[{"text":"< 0.43.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.43.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"pixi-compat","name":"pixi-compat","label":"pixi-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pixi-compat","purlType":"apk","versions":[{"text":"< 0.43.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.43.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"wasm-pack","name":"wasm-pack","label":"wasm-pack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wasm-pack","purlType":"apk","versions":[{"text":"< 0.13.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.13.1-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"deno","name":"deno","label":"deno","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/deno","purlType":"apk","versions":[{"text":"< 2.5.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.6-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"geckodriver","name":"geckodriver","label":"geckodriver","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/geckodriver","purlType":"apk","versions":[{"text":"< 0.36.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nushell","name":"nushell","label":"nushell","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nushell","purlType":"apk","versions":[{"text":"< 0.102.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.102.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nushell-plugins","name":"nushell-plugins","label":"nushell-plugins","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nushell-plugins","purlType":"apk","versions":[{"text":"< 0.102.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.102.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"pixi","name":"pixi","label":"pixi","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/pixi","purlType":"apk","versions":[{"text":"< 0.43.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.43.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"pixi-compat","name":"pixi-compat","label":"pixi-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/pixi-compat","purlType":"apk","versions":[{"text":"< 0.43.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.43.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"wasm-pack","name":"wasm-pack","label":"wasm-pack","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/wasm-pack","purlType":"apk","versions":[{"text":"< 0.13.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.13.1-r3","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"zip","name":"zip","label":"zip","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/zip","purlType":"cargo","versions":[{"text":"≥ 1.3.0, < 2.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, < 2.3.0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-zip","name":"rust-zip","label":"rust-zip","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-zip","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"zip-rs","product":"zip2","name":"zip2","label":"zip2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.0, < 2.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.0, < 2.3.0","eol":null,"hubHref":"/vendor/zip-rs/zip2"}],"affectedCount":18,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8","label":"github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","WEB"]},{"url":"https://github.com/zip-rs/zip2/commit/a2e062f37066c3b12860a32eb1cb44856cfb7afe","label":"github.com/zip-rs/zip2/commit/a2e062f37066c3b12860a32eb1cb44856cfb7afe","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://gist.github.com/eternal-flame-AD/bf71ef4f6828e741eb12ce7fd47b7b85","label":"gist.github.com/eternal-flame-AD/bf71ef4f6828e741eb12ce7fd47b7b85","hostname":"gist.github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/zip-rs/zip2/releases/tag/v2.3.0","label":"github.com/zip-rs/zip2/releases/tag/v2.3.0","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-29787","label":"ubuntu.com/security/CVE-2025-29787","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-29787","label":"www.cve.org/CVERecord?id=CVE-2025-29787","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29787.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29787.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-29787","label":"nvd.nist.gov/vuln/detail/CVE-2025-29787","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/zip-rs/zip2","label":"github.com/zip-rs/zip2","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/zip","label":"crates.io/crates/zip","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0168.html","label":"rustsec.org/advisories/RUSTSEC-2025-0168.html","hostname":"rustsec.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-53WM-6FVR-FCF9","CGA-F5HV-9CMR-QCXC","CGA-G5XH-8M57-Q3F2","CGA-G69R-8M6G-X2Q3","CGA-HC3V-747C-95W7","CGA-J5R3-2FCQ-9H43"]},"timeline":[{"kind":"published","date":"2025-03-17T13:19:23.925Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-19T15:50:49.160Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:43:46.843Z","stale":false,"partial":false}}