{"id":"CVE-2018-25046","published":"2022-12-27T21:13:15Z","modified":"2025-04-11T22:53:21Z","title":"Path traversal in code.cloudfoundry.org/archiver","vendor":"code.cloudfoundry.org/archiver","product":"code.cloudfoundry.org/archiver/extractor","tier":"tail","description":{"text":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0129,"percentile":0.70949,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840","tags":[]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2020-0025","tags":[]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":14.19},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"code-cloudfoundry-org-archiver","affectedVersions":[{"vendor":"code.cloudfoundry.org/archiver","product":"code.cloudfoundry.org/archiver/extractor","versions":["< 0.0.0-20180523222229-09b5706aa936"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-11T22:52:44.875606Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cloudfoundry/archiver","vulnerableRanges":["<0.0.0-20180523222229-09b5706aa936"],"patched":["0.0.0-20180523222229-09b5706aa936"],"from":["GHSA-32qh-8vg6-9g43"],"provenance":"source"},{"ecosystem":"Go","package":"code.cloudfoundry.org/archiver","vulnerableRanges":["<0.0.0-20180523222229-09b5706aa936"],"patched":["0.0.0-20180523222229-09b5706aa936"],"from":["GHSA-32qh-8vg6-9g43","GO-2020-0025"],"provenance":"source"}],"summary":{"text":"The path traversal flaw lies in the extractor component of code.cloudfoundry.org/archiver, which fails to properly sanitise file paths within archives. An attacker who can supply an archive containing relative paths can cause files to be written or overwritten outside the intended target directory, with no authentication or user interaction required and exploitable over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:37Z"},"euvd":{"id":"EUVD-2022-7478","exploited":false,"provenance":"source"}}