Red Hat 9062 Published by

A rust-toolset:rhel8 security, bug fix, and enhancement update has been released for Red Hat Enterprise Linux 8.



RHSA-2022:1894-01: Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update



=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update
Advisory ID: RHSA-2022:1894-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2022:1894
Issue date: 2022-05-10
CVE Names: CVE-2022-21658
=====================================================================

1. Summary:

An update for the rust-toolset:rhel8 module is now available for Red Hat
Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64

3. Description:

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.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

5. Bugs fixed (  https://bugzilla.redhat.com/):

1980080 - Enable Rust wasm32-wasi target [rhel-8.6.0]
2041504 - CVE-2022-21658 rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed

6. Package List:

Red Hat Enterprise Linux AppStream (v. 8):

Source:
rust-1.58.1-1.module+el8.6.0+14021+586eff1a.src.rpm
rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.src.rpm

aarch64:
cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rls-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm
rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.aarch64.rpm

noarch:
cargo-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm
rust-debugger-common-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm
rust-gdb-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm
rust-lldb-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm
rust-src-1.58.1-1.module+el8.6.0+14021+586eff1a.noarch.rpm

ppc64le:
cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rls-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm
rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.ppc64le.rpm

s390x:
cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rls-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rust-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm
rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.s390x.rpm

x86_64:
cargo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
cargo-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
clippy-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
clippy-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rls-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rls-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-analysis-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-debugsource-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-doc-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-std-static-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-std-static-wasm32-unknown-unknown-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-std-static-wasm32-wasi-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rust-toolset-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rustfmt-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm
rustfmt-debuginfo-1.58.1-1.module+el8.6.0+14021+586eff1a.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2022-21658
  https://access.redhat.com/security/updates/classification/#moderate
  https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes/

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2022 Red Hat, Inc.