HIGH 7.5

CVE-2018-17297

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

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.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
cn.hutool » hutool-all
< 4.1.12
4.1.12
cn.hutool » hutool-core
< 4.1.12
4.1.12
cn.hutool » hutool-parent
< 4.1.12
4.1.12

Blast radius

3affected artifacts
79affected versions
163dependent artifacts (est.)
1,286dependent versions

46% of the dependent artifacts (75) still pull an affected version in their latest release.

DepthDependent versions
Direct
591
2 hops
183
3 hops
246
4 hops
206
5 hops
60

Most used dependents

Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Advisorygithub.com
Packagegithub.com
Webgithub.com