RLSA-2022:1894

Type: Security
Severity: Moderate
Published: 2022-05-10
Rocky Linux 8

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 Rocky Linux 8.6 Release Notes linked from the References section.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:03:17.928Z UTC

Official vendor advisory

Rocky Linux 8

View source
Observed 2026-11-28T06:03:17.928Z UTC. Last updated 2025-12-10T09:35:48.793Z UTC.

Upstream Advisory

Affected Packages

  • cargo 0:1.58.1-1.module+el8.6.0+826+60f85975

  • cargo-doc 0:1.58.1-1.module+el8.6.0+826+60f85975

  • clippy 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rls 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-analysis 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-debugger-common 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-doc 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rustfmt 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-gdb 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-lldb 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-src 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-std-static 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-std-static-wasm32-unknown-unknown 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-std-static-wasm32-wasi 0:1.58.1-1.module+el8.6.0+826+60f85975

  • rust-toolset 0:1.58.1-1.module+el8.6.0+826+60f85975

Interested in being alerted when there are new versions of cargo and the other packages? Set up an alert.
RLSA-2022:1894: rust-toolset:rhel8 security, bug fix, and enhancement update | Package Alert