{"id":"CVE-2018-17297","aliases":["CVE-2018-17297","GHSA-rhq2-2574-78mc"],"related":[],"kind":"vulnerability","state":"published","title":"Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La función unzip en ZipUtil.java en Hutool en versiones anteriores a la 4.1.12 permite a los atacantes remotos sobrescribir archivos arbitrarios mediante secuencias de salto de directorio en un nombre de archivo en un archivo ZIP.","source":"nvd"}],"published":"2018-09-21T06:00:00.000Z","modified":"2026-06-17T01:45:37.913Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/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.0","vector":"CVSS:3.0/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:P","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.12"}],"ecosystem":"Maven","package":"cn.hutool:hutool-parent","purl":"pkg:maven/cn.hutool/hutool-parent","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.12"}],"ecosystem":"Maven","package":"cn.hutool:hutool-all","purl":"pkg:maven/cn.hutool/hutool-all","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.12"}],"ecosystem":"Maven","package":"cn.hutool:hutool-core","purl":"pkg:maven/cn.hutool/hutool-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.1.12"}],"vendor":"hutool","product":"hutool","cpe":"cpe:2.3:a:hutool:hutool:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/looly/hutool/issues/162","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17297","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-rhq2-2574-78mc","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/looly/hutool","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-17297","url":"https://www.cve.org/CVERecord?id=CVE-2018-17297","licence":"CVE Terms of Use","modified":"2024-08-05T10:47:04.089Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rhq2-2574-78mc","url":"https://github.com/advisories/GHSA-rhq2-2574-78mc","licence":"CC-BY-4.0","modified":"2023-11-08T04:00:04.085Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-17297","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17297","licence":"Public domain","modified":"2026-06-17T01:45:37.913Z"}],"updatedAt":"2026-11-25T22:57:39.711Z","epss":{"score":0.02674,"percentile":0.86191,"date":"2026-12-01T12:00:22.000Z"}}