ADVISORIES

Red Hat VEX

RHVEX-CVE-2022-21658

rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed

Moderate No fix available CVE-2022-21658

Details

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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8stratisd
All versions, will not be fixed
Red Hat:enterprise_linux:8stratisd-dracut
All versions, will not be fixed
Red Hat:enterprise_linux:9stratisd
All versions, will not be fixed
Red Hat:enterprise_linux:9stratisd-dracut
All versions, will not be fixed
Red Hat:enterprise_linux:9stratisd-tools
All versions, will not be fixed

References