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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | cargo | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | cargo-doc | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | clippy | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rls | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust-analysis | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust-debugger-common | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust-debuginfo | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust-doc | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust-gdb | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust-src | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rust-std-static | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |
| Amazon Linux:2 | rustfmt | All versions before 1.61.0-2.amzn2.0.1 (fixed in 1.61.0-2.amzn2.0.1) |