RHSA-2022:1894

Type: Security
Severity: Moderate
Published: 2022-05-10
Red Hat Enterprise 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 Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:19:44.949Z UTC

Official vendor advisory

Red Hat Enterprise Linux 8

View source
Observed 2026-11-28T01:19:44.949Z UTC. Last updated 2026-10-07T09:23:23.621Z UTC.

Upstream Advisory

Affected Packages

  • cargo 1.58.1-1.module+el8.6.0+14021+586eff1a

  • cargo-doc 1.58.1-1.module+el8.6.0+14021+586eff1a

  • clippy 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rls 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-analysis 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-debugger-common 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-doc 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-gdb 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-lldb 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-src 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-std-static 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-std-static-wasm32-unknown-unknown 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-std-static-wasm32-wasi 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rust-toolset 1.58.1-1.module+el8.6.0+14021+586eff1a

  • rustfmt 1.58.1-1.module+el8.6.0+14021+586eff1a

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