{"id":"CVE-2020-36561","aliases":["EUVD-2022-7611","GHSA-f5c5-hmw9-v8hx","GO-2020-0035"],"status":"published","title":"Path traversal in github.com/yi-ge/unzip","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01414,"percentile":0.72923,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2021-04-14T20:04:52Z","modified":"2026-10-20T10:54:21Z","fixes":[{"ecosystem":"Go","package":"github.com/yi-ge/unzip","fixed_in":["1.0.3-0.20200308084313-2adbaa4891b9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/yi-ge/unzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3-0.20200308084313-2adbaa4891b9"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/yi-ge/unzip","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.3-0.20200308084313-2adbaa4891b9"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/yi-ge/unzip","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.3-0.20200308084313-2adbaa4891b9"}]}]}],"products":[{"vendor":"github.com/yi-ge/unzip","product":"github.com/yi-ge/unzip"},{"vendor":"unzip_project","product":"unzip"}],"references":[{"url":"https://github.com/yi-ge/unzip/pull/1","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web","fix"]},{"url":"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_transferred","Technical Description","Third Party Advisory","advisory","web"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0035","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36561","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f5c5-hmw9-v8hx"},{"url":"https://github.com/yi-ge/unzip","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36561","title":"Path traversal in github.com/yi-ge/unzip","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T21:13:22.65Z","modified":"2025-04-11T16:38:20.416Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"adp"}],"updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2022-7611","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T21:13:22Z","modified":"2025-04-11T16:38:20Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:34.493984Z"}],"ghsa":[{"id":"GHSA-f5c5-hmw9-v8hx","title":"Unzip vulnerable to path traversal","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-08-30T11:48:44Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:02.095916Z"}],"nvd":[{"id":"CVE-2020-36561","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T22:15:11.623Z","modified":"2026-06-17T03:15:44.31Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:47.286386Z"}],"osv":[{"id":"CVE-2020-36561","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T22:15:11.623Z","modified":"2026-10-20T10:54:21.482119597Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:16.936975Z"},{"id":"GHSA-f5c5-hmw9-v8hx","title":"Unzip vulnerable to path traversal","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-11-08T04:03:47.481614Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:46.006631Z"},{"id":"GO-2020-0035","title":"Path traversal in github.com/yi-ge/unzip","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
