Skip to content
Fencer Intel
high 7.5

CVE-2018-17297 json

Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal

published 8y ago modified 4mo ago also GHSA-rhq2-2574-78mc , EUVD-2018-0685

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.7%
EPSS 2.7% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

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.

Patch / fix

  • maven cn.hutool:hutool-parent 4.1.12
  • maven cn.hutool:hutool-all 4.1.12
  • maven cn.hutool:hutool-core 4.1.12
  • hutool hutool 4.1.12

Is CVE-2018-17297 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

2.67% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
maven cn.hutool:hutool-parent
<4.1.12
4.1.12
maven cn.hutool:hutool-all
<4.1.12
4.1.12
maven cn.hutool:hutool-core
<4.1.12
4.1.12

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.