Back
CVE-2020-7666
Arbitrary File Write via Archive Extraction (Zip Slip)
High7.5EPSS 1.5%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- Arbitrary File Write via Archive Extraction (Zip Slip)
- CWE-22 (opens in a new tab)All about CWE-22 and its CVEs
Affected products
github.com/u-root/u-root/pkg/cpio
- affected < unspecified
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/u-root/u-root/pkg/cpioGHSA-mq35-x99r-54fc (opens in a new tab)
References (2)
- https://github.com/u-root/u-root/pull/1817 (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGCPIO-570440 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mq35-x99r-54fc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7666)Record last updated .