Every CVE Search/ Get API key

CVE-2018-17297

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

7.5 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

2.67%Up 2.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2018-17297
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:N/I:P/A:P
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-17297
Updated
2026-11-02
EUVDEUVD-2018-0685 No score

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.

Record
EUVD-2018-0685
Updated
2026-11-03
GitHub AdvisoriesGHSA-rhq2-2574-78mc 7.5

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

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.

Record
GHSA-rhq2-2574-78mc
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
OSVGHSA-rhq2-2574-78mc 7.5

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

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.

Record
GHSA-rhq2-2574-78mc
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cn.hutool:hutool-parent
Maven
before 4.1.12
4.1.12
cn.hutool:hutool-all
Maven
before 4.1.12
4.1.12
cn.hutool:hutool-core
Maven
before 4.1.12
4.1.12
cn.hutool:hutool-parent
Maven
before 4.1.12, plus listed versions
4.0.04.0.14.0.104.0.114.0.12
Show 20 moreShow less
4.0.24.0.34.0.44.0.54.0.64.0.74.0.84.0.94.1.04.1.14.1.104.1.114.1.24.1.34.1.44.1.54.1.64.1.74.1.84.1.9
4.1.12
cn.hutool:hutool-all
Maven
before 4.1.12, plus listed versions
4.0.04.0.14.0.104.0.114.0.12
Show 20 moreShow less
4.0.24.0.34.0.44.0.54.0.64.0.74.0.84.0.94.1.04.1.14.1.104.1.114.1.24.1.34.1.44.1.54.1.64.1.74.1.84.1.9
4.1.12
cn.hutool:hutool-core
Maven
before 4.1.12, plus listed versions
4.0.04.0.14.0.104.0.114.0.12
Show 20 moreShow less
4.0.24.0.34.0.44.0.54.0.64.0.74.0.84.0.94.1.04.1.14.1.104.1.114.1.24.1.34.1.44.1.54.1.64.1.74.1.84.1.9
4.1.12

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubshoucheng3/dromara__hutool_CVE-2018-17297_4-1-11112025-08-19

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-17297 is a high vulnerability (CVSS 7.5) in Hutool, published September 21, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.67%, the 85th percentile. Fixed in cn.hutool:hutool-parent 4.1.12.

References

MoveEnter Open