# CVE-2020-7665: Arbitrary File Write via Archive Extraction (Zip Slip)

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.83%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-01T13:55:13.737Z
- Modified: 2026-06-17T03:25:13.603Z
- Also known as: GHSA-58pf-pcwv-qg85, GO-2022-0793
- Weaknesses: CWE-22
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- github.com/u-root/u-root/pkg/uzip: before unspecified
- github.com/u-root/u-root (Go): before 0.9.0
- u-root u-root: no versions given

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGUZIP-570441> (exploit, third-party-advisory, web)
- <https://github.com/u-root/u-root/pull/1817> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7665> (advisory)
- <https://github.com/u-root/u-root/pull/2344> (fix, web)
- <https://github.com/advisories/GHSA-58pf-pcwv-qg85> (advisory)

## Sources

- CVE List: [CVE-2020-7665](https://www.cve.org/CVERecord?id=CVE-2020-7665), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-58pf-pcwv-qg85](https://github.com/advisories/GHSA-58pf-pcwv-qg85), CC-BY-4.0, modified 2026-03-13
- Go Vulnerability Database: [GO-2022-0793](https://pkg.go.dev/vuln/GO-2022-0793), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2020-7665](https://nvd.nist.gov/vuln/detail/CVE-2020-7665), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7665 · Whole record: https://cve.day/CVE-2020-7665.json · Rebuilt by cve.day 2026-11-25T22:57:54.462Z
