Vulnerability · Published Sep 1, 2020 · Assigned by snyk
CVE-2020-7666Arbitrary File Write via Archive Extraction (Zip Slip)
High 7.5
In plain English
A high-severity security flaw in github.com/u-root/u-root/pkg/cpio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities).
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.5%top 25.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects all versions of package github.com/u-root/u-root/pkg/cpio. It is vulnerable to leading, non-leading relative path traversal attacks and symlink based (relative and absolute) path traversal attacks in cpio file extraction.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/u-root/u-root/pkg/cpio | no fix listed | GHSA-mq35-x99r-54fc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | github.com/u-root/u-root/pkg/cpio | 0 – before unspecified |
References
- https://github.com/u-root/u-root/pull/1817 x_refsource_MISC
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGCPIO-570440 x_refsource_MISC