Описание
Arbitrary File Write via Archive Extraction in unzipper
Versions of unzipper before 0.8.13 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.3.18 or later.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002203
- https://github.com/ZJONSSON/node-unzipper/pull/59
- https://github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd
- https://hackerone.com/reports/362119
- https://github.com/advisories/GHSA-884w-698f-927f
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/npm:unzipper:20180415
- https://www.npmjs.com/advisories/680
Пакеты
Наименование
unzipper
npm
Затронутые версииВерсия исправления
< 0.8.13
0.8.13
Связанные уязвимости
CVSS3: 5.5
nvd
больше 7 лет назад
unzipper npm library before 0.8.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'.