{"id":"CVE-2018-1002202","aliases":["EUVD-2022-2044","GHSA-2rpm-4x8c-pvqg"],"status":"published","title":"Improper Limitation of a Pathname to a Restricted Directory in Zip4j","description":"zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.12642,"percentile":0.96278,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2018-07-25T17:00:00Z","modified":"2026-06-17T01:33:21Z","exploits":[{"source":"pocgithub","id":"iris-sast/zip4j","title":"iris-sast/zip4j","date":"2025-06-30","url":"https://github.com/iris-sast/zip4j"},{"source":"pocgithub","id":"shoucheng3/srikanth-lingala__zip4j_CVE-2018-1002202_1-3-2","title":"shoucheng3/srikanth-lingala__zip4j_CVE-2018-1002202_1-3-2","date":"2025-08-18","url":"https://github.com/shoucheng3/srikanth-lingala__zip4j_CVE-2018-1002202_1-3-2"}],"fixes":[{"ecosystem":"Maven","package":"net.lingala.zip4j:zip4j","fixed_in":["1.3.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"net.lingala.zip4j:zip4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"net.lingala.zip4j:zip4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3"}]}],"versions":["1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.1","1.3.2"]}],"products":[{"vendor":"zip4j","product":"zip4j"},{"vendor":"zip4j_project","product":"zip4j"}],"references":[{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US\u0026docId=emr_na-hpesbmu03895en_us","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/snyk/zip-slip-vulnerability","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1002202","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2rpm-4x8c-pvqg"}],"sources":{"cve":[{"id":"CVE-2018-1002202","description":"zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.","status":"published","published":"2018-07-25T17:00:00Z","modified":"2024-08-05T12:47:57.478Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:09.139955Z"}],"euvd":[{"id":"EUVD-2022-2044","description":"zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.","status":"published","published":"2018-07-25T17:00:00Z","modified":"2024-08-05T12:47:57Z","updated_at":"2026-11-03T02:39:25.8334Z"}],"ghsa":[{"id":"GHSA-2rpm-4x8c-pvqg","title":"Improper Limitation of a Pathname to a Restricted Directory in Zip4j","description":"zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.","status":"published","published":"2022-05-13T01:35:04Z","modified":"2023-01-27T05:02:32Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:18.427692Z"}],"nvd":[{"id":"CVE-2018-1002202","description":"zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.","status":"published","published":"2018-07-25T17:29:00.797Z","modified":"2026-06-17T01:33:21.31Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:35.310988Z"}],"osv":[{"id":"GHSA-2rpm-4x8c-pvqg","title":"Improper Limitation of a Pathname to a Restricted Directory in Zip4j","description":"zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.","status":"published","published":"2022-05-13T01:35:04Z","modified":"2026-03-16T03:10:18.240305Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:34.700741Z"}]}}
