Vulnerability Report: GO-2020-0025
- CVE-2018-25046, GHSA-32qh-8vg6-9g43
- Affects: code.cloudfoundry.org/archiver
- Published: Apr 14, 2021
- Modified: May 20, 2024
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected Packages
-
PathGo VersionsSymbols
-
before v0.0.0-20180523222229-09b5706aa936
6 unexported affected symbols
- detectableExtractor.Extract
- extractTarArchiveFile
- extractZipArchiveFile
- tarExtractor.Extract
- tgzExtractor.Extract
- zipExtractor.Extract
Aliases
References
- https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840
- https://snyk.io/research/zip-slip-vulnerability
- https://vuln.go.dev/ID/GO-2020-0025.json
Feedback
See anything missing or incorrect?
Suggest an edit to this report.