{"id":"GHSA-rhq2-2574-78mc","summary":"Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal","details":"The unzip function in ZipUtil.java in Hutool before 4.1.12 allows remote attackers to overwrite arbitrary files via directory traversal sequences in a filename within a ZIP archive.","aliases":["CVE-2018-17297"],"modified":"2023-11-08T04:00:04.085589Z","published":"2018-10-17T19:54:53Z","database_specific":{"github_reviewed_at":"2020-06-16T21:55:00Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17297"},{"type":"WEB","url":"https://github.com/looly/hutool/issues/162"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rhq2-2574-78mc"},{"type":"PACKAGE","url":"https://github.com/looly/hutool"}],"affected":[{"package":{"name":"cn.hutool:hutool-parent","ecosystem":"Maven","purl":"pkg:maven/cn.hutool/hutool-parent"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.12"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.10","4.1.11","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-rhq2-2574-78mc/GHSA-rhq2-2574-78mc.json"}},{"package":{"name":"cn.hutool:hutool-all","ecosystem":"Maven","purl":"pkg:maven/cn.hutool/hutool-all"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.12"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.10","4.1.11","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-rhq2-2574-78mc/GHSA-rhq2-2574-78mc.json"}},{"package":{"name":"cn.hutool:hutool-core","ecosystem":"Maven","purl":"pkg:maven/cn.hutool/hutool-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.12"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.10","4.1.11","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-rhq2-2574-78mc/GHSA-rhq2-2574-78mc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}