GitHub Advisory Database
GHSA-2rpm-4x8c-pvqg
Improper Limitation of a Pathname to a Restricted Directory in Zip4j
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | net.lingala.zip4j:zip4j | All versions before 1.3.3 (fixed in 1.3.3) |