A race condition flaw was found in Rust's std::fs::remove_dir_all
function. Rust applications that use this function may be vulnerable to a race condition where an unprivileged attacker can trick the application into deleting files and directories, causing an impact on system data integrity. If the application is privileged, an attacker can possibly delete files they would not usually have access to.
Bottlerocket uses this function when deleting temporary directories created by several OS subsystems.
A race condition flaw was found in Rust's
std::fs::remove_dir_all
function. Rust applications that use this function may be vulnerable to a race condition where an unprivileged attacker can trick the application into deleting files and directories, causing an impact on system data integrity. If the application is privileged, an attacker can possibly delete files they would not usually have access to.Bottlerocket uses this function when deleting temporary directories created by several OS subsystems.