Vulnerability · Published Sep 1, 2020 · Assigned by snyk
CVE-2020-7665Arbitrary 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/uzip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 21.1% 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/uzip. It is vulnerable to both leading and non-leading relative path traversal attacks in zip file extraction.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/u-root/u-root | 0.9.0 | GHSA-58pf-pcwv-qg85 |
| Go | github.com/u-root/u-root | 0.9.0 | GO-2022-0793 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | github.com/u-root/u-root/pkg/uzip | 0 – before unspecified |
References
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGUZIP-570441 x_refsource_MISC
- https://github.com/u-root/u-root/pull/1817 x_refsource_MISC