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)
| Artifact | Affected versions | Fixed 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.
| Depth | Dependent versions |
|---|---|
| Direct | 591 |
| 2 hops | 183 |
| 3 hops | 246 |
| 4 hops | 206 |
| 5 hops | 60 |
Most used dependents
- cn.hutool » hutool-http344 usages
- cn.hutool » hutool-crypto330 usages
- cn.hutool » hutool-json243 usages
- cn.hutool » hutool-extra182 usages
- cn.hutool » hutool-cache75 usages
- cn.hutool » hutool-log51 usages
- cn.hutool » hutool-captcha44 usages
- cn.hutool » hutool-system36 usages
- cn.hutool » hutool-db28 usages
- org.t-io » tio-core25 usages
- cn.hutool » hutool-cron22 usages
- cn.hutool » hutool-setting22 usages
- org.actframework » act21 usages
- net.mingsoft » ms-basic21 usages
- org.t-io » tio-websocket-server19 usages
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
| Advisory | NVD CVE-2018-17297 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-rhq2-2574-78mc | github.com |
| Package | looly/hutool | github.com |
| Web | looly/hutool issue #162 | github.com |
