GitHub Advisoryadvisory · Maven
GHSA-2rpm-4x8c-pvqg Improper Limitation of a Pathname to a Restricted Directory in Zip4j
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1002202
- Ecosystem
- Maven
- Packages
- net.lingala.zip4j:zip4j
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2022-06-30
Affected packages
• Maven net.lingala.zip4j:zip4j: < 1.3.3 → fixed in 1.3.3
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'.
Related
Alias · CVE (1)
- CVE-2018-1002202 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… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002202 advisory
- https://github.com/snyk/zip-slip-vulnerability web
- https://snyk.io/research/zip-slip-vulnerability web
- https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679 web
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03895en_us web