← 漏洞与更新

中危漏洞公告Rust

split: TOCTOU output-open allows truncating a swapped file

受影响

软件包受影响版本修复版本
rust:uu_split<= 0.9.00.10.0

split checks input/output identity by path before opening the output, then opens with truncation, leaving a race window on mutable path components. GNU opens first and compares the opened output inode against the input before truncating. The race can cause split to truncate/write a file different from the one validated — including the input file or another file the process can access. Fixed in 0.10.0 (PR #12565, commit 58040feb5c66fce588a7ffac299b3a23bd55cd81): the output open path is hardened…

在 GitHub Advisory Database 阅读

2026/11/21 01:33,GitHub Advisory Database 发布了“split: TOCTOU output-open allows truncating a swapped file”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Rust。CVE:CVE-2026-35374。