GitHub Advisoryadvisory · Maven

GHSA-2rpm-4x8c-pvqg Improper Limitation of a Pathname to a Restricted Directory in Zip4j

MEDIUM Published 2022-05-13 Modified 2022-06-30 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