Amazon Linux 2023 Security Advisory: ALAS-2023-323
Advisory Release Date: 2023-08-31 21:43 Pacific
Advisory Updated Date: 2023-09-07 21:18 Pacific
Cargo downloads the Rust project's dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another local user could exploit this to change the source code compiled and executed by the current user. To prevent existing cached extractions from being exploitable, the Cargo binary version 0.72.2 included in Rust 1.71.1 or later will purge caches generated by older Cargo versions automatically. As a workaround, configure one's system to prevent other local users from accessing the Cargo directory, usually located in `~/.cargo`. (CVE-2023-38497)
Affected Packages:
rust
Issue Correction:
Run dnf update rust --releasever 2023.1.20230906 to update your system.
aarch64:
rust-debuginfo-1.68.2-1.amzn2023.0.2.aarch64
rust-analyzer-debuginfo-1.68.2-1.amzn2023.0.2.aarch64
rustfmt-debuginfo-1.68.2-1.amzn2023.0.2.aarch64
rust-analysis-1.68.2-1.amzn2023.0.2.aarch64
clippy-debuginfo-1.68.2-1.amzn2023.0.2.aarch64
rust-1.68.2-1.amzn2023.0.2.aarch64
rust-std-static-1.68.2-1.amzn2023.0.2.aarch64
cargo-1.68.2-1.amzn2023.0.2.aarch64
clippy-1.68.2-1.amzn2023.0.2.aarch64
cargo-debuginfo-1.68.2-1.amzn2023.0.2.aarch64
rust-analyzer-1.68.2-1.amzn2023.0.2.aarch64
rustfmt-1.68.2-1.amzn2023.0.2.aarch64
rust-debugsource-1.68.2-1.amzn2023.0.2.aarch64
rust-doc-1.68.2-1.amzn2023.0.2.aarch64
noarch:
rust-gdb-1.68.2-1.amzn2023.0.2.noarch
rust-std-static-wasm32-wasi-1.68.2-1.amzn2023.0.2.noarch
rust-lldb-1.68.2-1.amzn2023.0.2.noarch
rust-std-static-wasm32-unknown-unknown-1.68.2-1.amzn2023.0.2.noarch
rust-debugger-common-1.68.2-1.amzn2023.0.2.noarch
rust-src-1.68.2-1.amzn2023.0.2.noarch
src:
rust-1.68.2-1.amzn2023.0.2.src
x86_64:
clippy-debuginfo-1.68.2-1.amzn2023.0.2.x86_64
rust-debuginfo-1.68.2-1.amzn2023.0.2.x86_64
rust-analysis-1.68.2-1.amzn2023.0.2.x86_64
rustfmt-1.68.2-1.amzn2023.0.2.x86_64
rust-analyzer-1.68.2-1.amzn2023.0.2.x86_64
cargo-debuginfo-1.68.2-1.amzn2023.0.2.x86_64
clippy-1.68.2-1.amzn2023.0.2.x86_64
rust-analyzer-debuginfo-1.68.2-1.amzn2023.0.2.x86_64
rust-1.68.2-1.amzn2023.0.2.x86_64
cargo-1.68.2-1.amzn2023.0.2.x86_64
rustfmt-debuginfo-1.68.2-1.amzn2023.0.2.x86_64
rust-std-static-1.68.2-1.amzn2023.0.2.x86_64
rust-debugsource-1.68.2-1.amzn2023.0.2.x86_64
rust-doc-1.68.2-1.amzn2023.0.2.x86_64