What’s Vulnerable › Vulnerabilities
CVE-2020-7667: Arbitrary File Write via Archive Extraction (Zip Slip)
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-06-24 · updated 2026-06-17
- Weakness: CWE-22
Description
In package github.com/sassoftware/go-rpmutils/cpio before version 0.1.0, the CPIO extraction functionality doesn't sanitize the paths of the archived files for leading and non-leading ".." which leads in file extraction outside of the current directory. Note: the fixing commit was applied to all affected versions which were re-released.
Affected products
- Sas Go Rpm Utils: before 0.1.0 — fixed in 0.1.0
How to fix
Upgrade to a fixed version: Sas Go Rpm Utils 0.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
Get alerted when CVE-2020-7667 or the next vulnerability affects your stack