Advisory

ALSA-2022:1894

Also known as: CVE-2022-21658

Summary

Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update

Details

Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries.

The following packages have been upgraded to a later upstream version: rust (1.58.0). (BZ#2002883)

Security Fix(es):

  • rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed (CVE-2022-21658)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Severity

Not rated by the source.

Dates

Published
2022-05-10 08:06 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

16 affected packages; all RPM packages (rpm) · AlmaLinux 8; affected: earlier versions
PackageFix
cargosudo dnf upgrade cargo-1.58.1-1.module_el8.6.0+2748+176088b3
cargo-docsudo dnf upgrade cargo-doc-1.58.1-1.module_el8.6.0+2748+176088b3
clippysudo dnf upgrade clippy-1.58.1-1.module_el8.6.0+2748+176088b3
rlssudo dnf upgrade rls-1.58.1-1.module_el8.6.0+2748+176088b3
rustsudo dnf upgrade rust-1.58.1-1.module_el8.6.0+2748+176088b3
rust-analysissudo dnf upgrade rust-analysis-1.58.1-1.module_el8.6.0+2748+176088b3
rust-debugger-commonsudo dnf upgrade rust-debugger-common-1.58.1-1.module_el8.6.0+2748+176088b3
rust-docsudo dnf upgrade rust-doc-1.58.1-1.module_el8.6.0+2748+176088b3
rust-gdbsudo dnf upgrade rust-gdb-1.58.1-1.module_el8.6.0+2748+176088b3
rust-lldbsudo dnf upgrade rust-lldb-1.58.1-1.module_el8.6.0+2748+176088b3
rust-srcsudo dnf upgrade rust-src-1.58.1-1.module_el8.6.0+2748+176088b3
rust-std-staticsudo dnf upgrade rust-std-static-1.58.1-1.module_el8.6.0+2748+176088b3
rust-std-static-wasm32-unknown-unknownsudo dnf upgrade rust-std-static-wasm32-unknown-unknown-1.58.1-1.module_el8.6.0+2748+176088b3
rust-std-static-wasm32-wasisudo dnf upgrade rust-std-static-wasm32-wasi-1.58.1-1.module_el8.6.0+2748+176088b3
rust-toolsetsudo dnf upgrade rust-toolset-1.58.1-1.module_el8.6.0+2748+176088b3
rustfmtsudo dnf upgrade rustfmt-1.58.1-1.module_el8.6.0+2748+176088b3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences