ADVISORIES

Amazon Linux Security Advisory

ALAS2-2022-1817

Amazon Linux 2 2017.12 - ALAS2-2022-1817: medium priority package update for rust

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-21658: 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
Amazon Linux:2cargo
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2cargo-doc
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2clippy
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rls
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust-analysis
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust-debugger-common
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust-debuginfo
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust-doc
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust-gdb
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust-src
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rust-std-static
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)
Amazon Linux:2rustfmt
All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1)

References