# CVE-2020-7667: Arbitrary File Write via Archive Extraction (Zip Slip)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.62%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-06-24T12:00:15.519Z
- Modified: 2026-07-08T06:49:49.155Z
- Also known as: GHSA-9423-6c93-gpp8, GO-2020-0042, SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
- Weaknesses: CWE-22
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- github.com/sassoftware/go-rpmutils/cpio: from unspecified before 0.1.0
- github.com/sassoftware/go-rpmutils (Go): before 0.1.0
- sas go_rpm_utils: before 0.1.0

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427> (exploit, third-party-advisory, web)
- <https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7667> (advisory)
- <https://github.com/sassoftware/go-rpmutils> (package)
- <https://pkg.go.dev/vuln/GO-2020-0042> (web)
- <https://snyk.io/research/zip-slip-vulnerability> (web)

## Sources

- CVE List: [CVE-2020-7667](https://www.cve.org/CVERecord?id=CVE-2020-7667), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-9423-6c93-gpp8](https://github.com/advisories/GHSA-9423-6c93-gpp8), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2020-0042](https://pkg.go.dev/vuln/GO-2020-0042), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-7667](https://nvd.nist.gov/vuln/detail/CVE-2020-7667), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7667 · Whole record: https://cve.day/CVE-2020-7667.json · Rebuilt by cve.day 2026-11-25T22:57:53.100Z
