CVE-2026-35342
mktemp: empty TMPDIR creates temp files in CWD instead of /tmp
3.3
LOW
CVSS 3.1
EPSS 0.13%
描述
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.
如何修補 CVE-2026-35342
要修補 CVE-2026-35342,請將受影響套件升級到下列已修補版本。
- —升級至 0.6.0 或更新版本
- —升級至 0.6.0 或更新版本
CVE-2026-35342 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.6.0
- from 0, < 0.6.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |