{"id":"CVE-2020-7665","aliases":["EUVD-2021-0952","GHSA-58pf-pcwv-qg85","GO-2022-0793"],"status":"published","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01826,"percentile":0.78971,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2020-09-01T13:55:13Z","modified":"2026-06-17T03:25:13Z","fixes":[{"ecosystem":"Go","package":"github.com/u-root/u-root","fixed_in":["0.9.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/u-root/u-root","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/u-root/u-root","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/u-root/u-root","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]}],"products":[{"vendor":"u-root","product":"u-root"}],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGUZIP-570441","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/u-root/u-root/pull/1817","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7665","tags":["advisory"]},{"url":"https://github.com/u-root/u-root/pull/2344","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-58pf-pcwv-qg85","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-7665","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","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.","status":"published","published":"2020-09-01T13:55:13.737Z","modified":"2024-09-16T23:15:21.354Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2021-0952","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.","status":"published","published":"2020-09-01T13:55:13Z","modified":"2024-09-16T23:15:21Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T00:54:55.705637Z"}],"ghsa":[{"id":"GHSA-58pf-pcwv-qg85","title":"Path traversal in u-root","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.","status":"published","published":"2021-05-18T21:08:28Z","modified":"2023-01-11T05:08:12Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:13.23016Z"}],"nvd":[{"id":"CVE-2020-7665","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.","status":"published","published":"2020-09-01T14:15:14.19Z","modified":"2026-06-17T03:25:13.603Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:13.600965Z"}],"osv":[{"id":"GHSA-58pf-pcwv-qg85","title":"Path traversal in u-root","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.","status":"published","published":"2021-05-18T21:08:28Z","modified":"2026-03-13T21:56:23.979241Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:38.213481Z"},{"id":"GO-2022-0793","title":"Path traversal in u-root in github.com/u-root/u-root","description":"Path traversal in u-root in github.com/u-root/u-root","status":"published","published":"2024-08-21T15:28:59Z","modified":"2026-03-13T21:56:23.979241Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
