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
| Package | Fix |
|---|---|
| cargo | sudo dnf upgrade cargo-1.58.1-1.module_el8.6.0+2748+176088b3 |
| cargo-doc | sudo dnf upgrade cargo-doc-1.58.1-1.module_el8.6.0+2748+176088b3 |
| clippy | sudo dnf upgrade clippy-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rls | sudo dnf upgrade rls-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust | sudo dnf upgrade rust-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-analysis | sudo dnf upgrade rust-analysis-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-debugger-common | sudo dnf upgrade rust-debugger-common-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-doc | sudo dnf upgrade rust-doc-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-gdb | sudo dnf upgrade rust-gdb-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-lldb | sudo dnf upgrade rust-lldb-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-src | sudo dnf upgrade rust-src-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-std-static | sudo dnf upgrade rust-std-static-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-std-static-wasm32-unknown-unknown | sudo dnf upgrade rust-std-static-wasm32-unknown-unknown-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-std-static-wasm32-wasi | sudo dnf upgrade rust-std-static-wasm32-wasi-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rust-toolset | sudo dnf upgrade rust-toolset-1.58.1-1.module_el8.6.0+2748+176088b3 |
| rustfmt | sudo 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
Links
Source
Source: AlmaLinux OSV database · MIT