CVE-2018-25046
cloudfoundry/archiver: improper path sanitization can result in files being extracted outside of the target directory
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | code.cloudfoundry.org/archiver, github.com/cloudfoundry/archiver | 0.0.0-20180523222229-09b5706aa936 |
Show all 2 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | code.cloudfoundry.org/archiver | 0.0.0-20180523222229-09b5706aa936 |
| go::GitHub Security Advisory Go | github.com/cloudfoundry/archiver | 0.0.0-20180523222229-09b5706aa936 |
References
- https://access.redhat.com/security/cve/CVE-2018-25046
- https://github.com/cloudfoundry/archiver
- https://github.com/cloudfoundry/archiver/commit/09b5706aa9367972c09144a450bb4523049ee840
- https://nvd.nist.gov/vuln/detail/CVE-2018-25046
- https://pkg.go.dev/vuln/GO-2020-0025
- https://snyk.io/research/zip-slip-vulnerability
- https://www.cve.org/CVERecord?id=CVE-2018-25046