{"id":"CVE-2020-7666","aliases":["CVE-2020-7666","GHSA-mq35-x99r-54fc"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete github.com/u-root/u-root/pkg/cpio.&#xa0;Es vulnerable tanto a ataques de salto de ruta relativa principales como no principales y ataques de salto de ruta basados ??en enlaces simbólicos (relativos y absolutos) en la extracción de archivos cpio","source":"nvd"}],"published":"2020-09-01T13:55:17.641Z","modified":"2026-06-17T03:25:13.703Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"github.com/u-root/u-root/pkg/cpio","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"7.0.0"}],"ecosystem":"Go","package":"github.com/u-root/u-root/pkg/cpio","purl":"pkg:golang/github.com/u-root/u-root/pkg/cpio","source":"ghsa"},{"ranges":[],"vendor":"u-root","product":"u-root","cpe":"cpe:2.3:a:u-root:u-root:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/u-root/u-root/pull/1817","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUROOTUROOTPKGCPIO-570440","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7666","tags":["advisory"],"sources":["ghsa"]}],"credits":["Georgios Gkitsas of Snyk Security Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7666","url":"https://www.cve.org/CVERecord?id=CVE-2020-7666","licence":"CVE Terms of Use","modified":"2024-09-16T20:41:57.886Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mq35-x99r-54fc","url":"https://github.com/advisories/GHSA-mq35-x99r-54fc","licence":"CC-BY-4.0","modified":"2026-03-13T22:11:20.805Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7666","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7666","licence":"Public domain","modified":"2026-06-17T03:25:13.703Z"}],"updatedAt":"2026-11-25T22:57:54.462Z","epss":{"score":0.01527,"percentile":0.75439,"date":"2026-12-01T12:00:22.000Z"}}