MODERATE 6.5

CVE-2018-1002202

Improper Limitation of a Pathname to a Restricted Directory in Zip4j

Description

zip4j before 1.3.3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
net.lingala.zip4j » zip4j
< 1.3.3
1.3.3

Blast radius

1affected artifacts
14affected versions
1,529dependent artifacts (est.)
36,753dependent versions

66% of the dependent artifacts (1,012) still pull an affected version in their latest release.

DepthDependent versions
Direct
6,797
2 hops
17,785
3 hops
8,331
4 hops
2,519
5 hops
1,066
6 hops
255

Most used dependents

Computed from the dependency graph of build 20261127.1117 (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.