Vulnerability · Published Jun 24, 2020 · Assigned by snyk
CVE-2020-7667Arbitrary File Write via Archive Extraction (Zip Slip)
High 7.5
In plain English
A high-severity security flaw in github.com/sassoftware/go-rpmutils/cpio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.6%top 24.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/sassoftware/go-rpmutils | 0.1.0 | GHSA-9423-6c93-gpp8 |
| Go | github.com/sassoftware/go-rpmutils | 0.1.0 | GO-2020-0042 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | github.com/sassoftware/go-rpmutils/cpio | unspecified – before 0.1.0 |