{"id":"CVE-2020-7666","aliases":["EUVD-2024-1250","GHSA-mq35-x99r-54fc"],"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/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.","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.01527,"percentile":0.74881,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2020-09-01T13:55:17Z","modified":"2026-06-17T03:25:13Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/u-root/u-root/pkg/cpio","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.0.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/u-root/u-root/pkg/cpio","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"7.0.0"}]}]}],"products":[{"vendor":"u-root","product":"u-root"}],"references":[{"url":"https://github.com/u-root/u-root/pull/1817","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGCPIO-570440","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7666","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mq35-x99r-54fc"}],"sources":{"cve":[{"id":"CVE-2020-7666","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","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.","status":"published","published":"2020-09-01T13:55:17.641Z","modified":"2024-09-16T20:41:57.886Z","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-2024-1250","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.","status":"published","published":"2020-09-01T13:55:17Z","modified":"2024-09-16T20:41:57Z","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:55:11.71058Z"}],"ghsa":[{"id":"GHSA-mq35-x99r-54fc","title":"github.com/u-root/u-root/pkg/cpio Arbitrary File Write via Archive Extraction (Zip Slip)","description":"This affects all versions of package github.com/u-root/u-root/pkg/cpio up to and including 7.0.0. It is vulnerable to leading, non-leading relative path traversal attacks and symlink based (relative and absolute) path traversal attacks in cpio file extraction.","status":"published","published":"2024-04-24T20:00:38Z","modified":"2024-04-24T20:00:39Z","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:37:46.019452Z"}],"nvd":[{"id":"CVE-2020-7666","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.","status":"published","published":"2020-09-01T14:15:14.253Z","modified":"2026-06-17T03:25:13.703Z","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-mq35-x99r-54fc","title":"github.com/u-root/u-root/pkg/cpio Arbitrary File Write via Archive Extraction (Zip Slip)","description":"This affects all versions of package github.com/u-root/u-root/pkg/cpio up to and including 7.0.0. It is vulnerable to leading, non-leading relative path traversal attacks and symlink based (relative and absolute) path traversal attacks in cpio file extraction.","status":"published","published":"2024-04-24T20:00:38Z","modified":"2026-03-13T22:11:20.805146Z","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:52.170928Z"}]}}
