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

exploitDog

github логотип

GHSA-8cj5-5rvv-wf4v

Опубликовано: 03 июн. 2025
Источник: github
Github: Прошло ревью
CVSS4: 8.7

Описание

tar-fs can extract outside the specified dir with a specific tarball

Impact

v3.0.8, v2.1.2, v1.16.4 and below

Patches

Has been patched in 3.0.9, 2.1.3, and 1.16.5

Workarounds

You can use the ignore option to ignore non files/directories.

ignore (_, header) { // pass files & directories, ignore e.g. symlinks return header.type !== 'file' && header.type !== 'directory' }

Credit

Thank you Caleb Brown from Google Open Source Security Team for reporting this in detail.

Пакеты

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

tar-fs

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

< 1.16.5

1.16.5

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

tar-fs

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

>= 2.0.0, < 2.1.3

2.1.3

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

tar-fs

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

>= 3.0.0, < 3.0.9

3.0.9

EPSS

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

8.7 High

CVSS4

Дефекты

CWE-22

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

ubuntu
16 дней назад

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.

CVSS3: 7.3
redhat
16 дней назад

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.

nvd
16 дней назад

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.

debian
16 дней назад

tar-fs provides filesystem bindings for tar-stream. Versions prior to ...

EPSS

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

8.7 High

CVSS4

Дефекты

CWE-22