Path Traversal in Hutool
CVE-2018-17297
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.027, 86.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- shoucheng3/dromara__hutool_CVE-2018-17297_4-1-1111 (last pushed 2025-08-19)
- shoucheng3/dromara__hutool_CVE-2018-17297_4-1-11
Also mentioned in 1 other repository (mmvpm/app-sec-course). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/looly/hutool/issues/162 (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.