GitHub Advisoryadvisory · Maven

GHSA-rhq2-2574-78mc Unzip function in ZipUtil.java in Hutool allows remote attackers to overwrite arbitrary files via directory traversal

HIGH Published 2018-10-17 Modified 2022-04-27 Official page ↗
Aliases
CVE-2018-17297
Ecosystem
Maven
Packages
cn.hutool:hutool-parent, cn.hutool:hutool-all, cn.hutool:hutool-core
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2020-06-16

Affected packages

• Maven cn.hutool:hutool-parent: < 4.1.12 → fixed in 4.1.12 • Maven cn.hutool:hutool-all: < 4.1.12 → fixed in 4.1.12 • Maven cn.hutool:hutool-core: < 4.1.12 → fixed in 4.1.12

Description

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

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

References