CVE-2018-17297
HIGH 7.5CVSS 3.0Unzip 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.
- Published
- 21 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-rhq2-2574-78mc
- Sources
- NVDJSONOSV GHSA-rhq2-2574-78mcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hutool | hutoolcpe:2.3:a:hutool:hutool:*:*:*:*:*:*:*:* |
< 4.1.12 | 4.1.12 |
| OSV | Maven | cn.hutool:hutool-parent | < 4.1.12 | 4.1.12 |
| OSV | Maven | cn.hutool:hutool-all | < 4.1.12 | 4.1.12 |
| OSV | Maven | cn.hutool:hutool-core | < 4.1.12 | 4.1.12 |
References
- https://github.com/looly/hutool/issues/162 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-17297 · ADVISORY
- https://github.com/advisories/GHSA-rhq2-2574-78mc · ADVISORY
- https://github.com/looly/hutool · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 21 Sep 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2018)