{"cve":"CVE-2018-25046","nvd":{"published":"2022-12-27T22:15:11.140","modified":"2026-06-17T01:54:35.833","status":"Modified","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1},"cwes":["CWE-22"],"references":["https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840","https://pkg.go.dev/vuln/GO-2020-0025","https://snyk.io/research/zip-slip-vulnerability","https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840","https://pkg.go.dev/vuln/GO-2020-0025"],"products":["cloudfoundry:archiver"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2018-25046","score":0.0129,"percentile":0.70234,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-32qh-8vg6-9g43","url":"https://osv.dev/vulnerability/GHSA-32qh-8vg6-9g43","summary":"Cloud Foundry Archiver vulnerable to path traversal","modified":"2023-11-08T04:00:15.339766Z","packages":[{"ecosystem":"Go","name":"github.com/cloudfoundry/archiver","purl":"pkg:golang/github.com/cloudfoundry/archiver","ranges":["<0.0.0-20180523222229-09b5706aa936"],"fixed":["0.0.0-20180523222229-09b5706aa936"]},{"ecosystem":"Go","name":"code.cloudfoundry.org/archiver","purl":"pkg:golang/code.cloudfoundry.org/archiver","ranges":["<0.0.0-20180523222229-09b5706aa936"],"fixed":["0.0.0-20180523222229-09b5706aa936"]}]},{"id":"GO-2020-0025","url":"https://osv.dev/vulnerability/GO-2020-0025","summary":"Path traversal in code.cloudfoundry.org/archiver","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"code.cloudfoundry.org/archiver","purl":"pkg:golang/code.cloudfoundry.org/archiver","ranges":["<0.0.0-20180523222229-09b5706aa936"],"fixed":["0.0.0-20180523222229-09b5706aa936"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}