{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-25046","id":"CVE-2018-25046","title":"Path traversal in code.cloudfoundry.org/archiver","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","descriptionLong":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","published":"2022-12-27T21:13:15.767Z","updated":"2026-10-20T10:51:35.476635223Z","reserved":"2022-07-29T16:42:57.960Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["code.cloudfoundry.org/archiver/extractor"],"affectedProducts":[{"vendor":"code.cloudfoundry.org/archiver","product":"code.cloudfoundry.org/archiver/extractor","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"0.0.0-20180523222229-09b5706aa936","status":"affected","versionType":"semver"}],"platforms":[]}],"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"],"advisory":"GHSA-32qh-8vg6-9g43"},{"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"],"advisory":"GHSA-32qh-8vg6-9g43"}],"cwes":["CWE-22"],"aliases":["GHSA-32qh-8vg6-9g43","GO-2020-0025"],"references":[{"url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_transferred","Technical Description","Third Party Advisory","advisory","web"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0025","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046","tags":["advisory"]},{"url":"https://github.com/cloudfoundry/archiver","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0129,"epssPercentile":0.70818,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-25046","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25046","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-25046","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-32qh-8vg6-9g43","ok":true,"note":"GHSA-32qh-8vg6-9g43"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-25046","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}