PT-2018-1391
CVE-2018-1002204
·
Published
2018-07-25
·
Updated
2019-10-16
Description by
CVSS 2.0
7.5
HighMetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions
adm-zip versions prior to 0.4.9
Description
The issue is related to a directory traversal vulnerability, also known as 'Zip-Slip', which allows attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This can be exploited by a remote attacker using a specially crafted archive, potentially leading to arbitrary code execution. The vulnerability is due to incorrect restriction of the directory path name in the extractDir function of the Adm-zip library for Node.js.
Recommendations
Update to version 0.4.9 or later. As a temporary workaround, consider restricting the use of the extractDir function until a patch is available. Avoid using the
adm-zip library to extract archives from untrusted sources until the issue is resolved.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾