CVE-2020-7669 json
Arbitrary File Write via Archive Extraction (Zip Slip)
published 2020-09-01 6 y ago modified 2026-06-17 4 mo ago also GHSA-75qf-wgfj-v652 , GO-2022-0805 , EUVD-2021-0987
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
This affects all versions of package github.com/u-root/u-root/pkg/tarutil. It is vulnerable to both leading and non-leading relative path traversal attacks in tar file extraction.
Patch / fix
- go github.com/u-root/u-root 0.9.0
- github.com/u-root/u-root#1817 pull request
- github.com/u-root/u-root#2344 pull request
Exploit prediction
1.83% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGTARUTIL-570428 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/u-root/u-root | <0.9.0 |
0.9.0 |
Affected products
- n/a github.com/u-root/u-root/pkg/tarutil
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/u-root/u-root/pull/1817
web, patch, third-party-advisory
-
github.com
/u-root/u-root/pull/2344
web, patch
-
snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGTARUTIL-570428
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7669
advisory
-
github.com
/u-root/u-root/issues/2449
web, report
-
github.com
/advisories/GHSA-75qf-wgfj-v652
advisory
Sources
- CVE List CVE-2020-7669
- GitHub Advisory GHSA-75qf-wgfj-v652
- NVD CVE-2020-7669
- OSV GO-2022-0805
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.