CVE-2020-7667
HIGH 7.5CVSS 3.1github.com/sassoftware/go-rpmutils Arbitrary File Write via Archive Extraction (Zip Slip)
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.
- Published
- 24 Jun 2020
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-9423-6c93-gpp8GO-2020-0042SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427
- Sources
- NVDJSONOSV GHSA-9423-6c93-gpp8JSONOSV GO-2020-0042JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sas | go_rpm_utilscpe:2.3:a:sas:go_rpm_utils:*:*:*:*:*:*:*:* |
< 0.1.0 | 0.1.0 |
| OSV | Go | github.com/sassoftware/go-rpmutils | < 0.1.0 | 0.1.0 |
References
- https://github.com/sassoftware/go-rpmutils/commit/a64058cf21b8aada501bba923c9aab66fb6febf0 · Patch, Third Party Advisory, WEB, FIX
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSASSOFTWAREGORPMUTILSCPIO-570427 · Exploit, 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
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jun 2021)