{"id":"GO-2020-0025","summary":"Path traversal in code.cloudfoundry.org/archiver","details":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","aliases":["CVE-2018-25046","GHSA-32qh-8vg6-9g43"],"modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2020-0025","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"affected":[{"package":{"name":"code.cloudfoundry.org/archiver","ecosystem":"Go","purl":"pkg:golang/code.cloudfoundry.org/archiver"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180523222229-09b5706aa936"}]}],"ecosystem_specific":{"imports":[{"path":"code.cloudfoundry.org/archiver/extractor","symbols":["detectableExtractor.Extract","extractTarArchiveFile","extractZipArchiveFile","tarExtractor.Extract","tgzExtractor.Extract","zipExtractor.Extract"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0025.json"}}],"schema_version":"1.7.3"}