Описание
Arbitrary File Write in adm-zip
Versions of adm-zip before 0.4.9 are vulnerable to arbitrary file write when used to extract a specifically crafted archive that contains path traversal filenames (../../file.txt for example).
Recommendation
Update to version 0.4.9 or later.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002204
- https://github.com/cthackers/adm-zip/pull/212
- https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25
- https://hackerone.com/reports/362118
- https://github.com/advisories/GHSA-3v6h-hqm4-2rg6
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/npm:adm-zip:20180415
- https://www.npmjs.com/advisories/681
- https://www.npmjs.com/advisories/994
- http://www.securityfocus.com/bid/107001
Пакеты
adm-zip
< 0.4.11
0.4.11
Связанные уязвимости
adm-zip npm library before 0.4.9 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'.
adm-zip npm library before 0.4.9 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'.
Уязвимость функции extractDir библиотеки Node.js для работы с zip-файлами Adm-zip, позволяющая нарушителю выполнить произвольный код