What’s Vulnerable › Vulnerabilities
CVE-2018-25046: Path traversal in code.cloudfoundry.org/archiver
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-27 · updated 2026-06-17
- Weakness: CWE-22
Description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected products
- code.cloudfoundry.org/archiver/extractor: before 2018-05-23 — fixed in 2018-05-23
How to fix
Upgrade to a fixed version: code.cloudfoundry.org/archiver/extractor 2018-05-23. Check the vendor advisory for mitigations.
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
- https://snyk.io/research/zip-slip-vulnerability
Get alerted when CVE-2018-25046 or the next vulnerability affects your stack