CVE-2026-35339
MEDIUM5.5EPSS 0.01%uutils coreutils incorrectly handles exit codes when processing multiple files
發布日:2026/4/22修改日:2026/5/5
描述
The recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of the last file processed. This allows the command to return an exit code of 0 (success) even if errors were encountered on previous files, such as 'Operation not permitted'. Scripts relying on these exit codes may proceed under a false sense of success while sensitive files remain with restrictive or incorrect permissions.
受影響套件(2)
- crates.io/coreutilsfrom 0, < 0.6.0
- Debian/rust-coreutilsfrom 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-35339
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35339
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/commit/abd581f62e97d0b147306ac40eac13af71c6fbba
- WEBhttps://github.com/uutils/coreutils/pull/9793
- WEBhttps://github.com/uutils/coreutils/releases/tag/0.6.0