Skip to content

Improper Limitation of a Pathname to a Restricted Directory in zt-zip

Moderate severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

maven org.zeroturnaround:zt-zip (Maven)

Affected versions

< 1.13

Patched versions

1.13

Description

zt-zip before 1.13 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'.

References

Published by the National Vulnerability Database Jul 25, 2018
Published to the GitHub Advisory Database May 13, 2022
Reviewed Jun 30, 2022
Last updated Jan 27, 2023

Severity

Moderate
5.5
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

CVE-2018-1002201

GHSA ID

GHSA-qcf3-9vmh-xw4r

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.