Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. cn.hutool/hutool-core
  4. ›
  5. CVE-2018-17297

CVE-2018-17297: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

October 17, 2018 (updated September 17, 2021)

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.

References

  • github.com/advisories/GHSA-rhq2-2574-78mc
  • github.com/looly/hutool/issues/162
  • nvd.nist.gov/vuln/detail/CVE-2018-17297

Code Behaviors & Features

Detect and mitigate CVE-2018-17297 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.12

Fixed versions

  • 4.1.12

Solution

Upgrade to version 4.1.12 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/cn.hutool/hutool-core/CVE-2018-17297.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.