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

exploitDog

github логотип

GHSA-2w8r-9xj7-69j5

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

Описание

mktemp: empty TMPDIR creates temp files in CWD instead of /tmp

The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.


Zellic finding 3.11. Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

Пакеты

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

uu_mktemp

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

< 0.6.0

0.6.0

EPSS

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

3.3 Low

CVSS3

Дефекты

CWE-377

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

CVSS3: 3.3
ubuntu
4 месяца назад

The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.

CVSS3: 3.3
nvd
4 месяца назад

The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.

CVSS3: 3.3
debian
4 месяца назад

The mktemp utility in uutils coreutils fails to properly handle an emp ...

EPSS

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

3.3 Low

CVSS3

Дефекты

CWE-377