Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-h39j-r5qq-r9mm

Опубликовано: 05 июн. 2026
Источник: github
Github: Прошло ревью
CVSS4: 5.6
CVSS3: 6.4

Описание

decompress: Arbitrary File Write via Archive Extraction (Zip Slip)

All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary files on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive.

Note:

This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for CVE-2020-12265.

Пакеты

Наименование

decompress

npm
Затронутые версииВерсия исправления

<= 4.2.1

Отсутствует

EPSS

Процентиль: 42%
0.00521
Низкий

5.6 Medium

CVSS4

6.4 Medium

CVSS3

Дефекты

CWE-22
CWE-29

Связанные уязвимости

CVSS3: 7.5
redhat
3 месяца назад

All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive. **Note:** This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).

CVSS3: 6.4
nvd
3 месяца назад

All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive. **Note:** This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).

EPSS

Процентиль: 42%
0.00521
Низкий

5.6 Medium

CVSS4

6.4 Medium

CVSS3

Дефекты

CWE-22
CWE-29