RedHat: RHSA-2022-1894:01 Moderate: rust-toolset:rhel8 security, bu...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

=====================================================================
                   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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYnqROtzjgjWX9erEAQgkZBAAmWsVgosTaMGDpGj3gA90DdYI3IN5lBO8
tUoSTKDDatI5M1lwjSEBdDUh7nkFHAr4zSawU6tM9+d5Y/cfAVoC4bwDJleHRByz
MhpBMezpVaks4KdgsDm+UQtabDAKJp3yLkDTqTp8iWrepzxJcJPiieLn95DxmKq/
TEGUovSBVOnPXQMOdOor2hxi4M3CILVPzHWHgicSu3xHHa1O81CzPszwhfBgiRP4
RkNlU29AB1m0C+SOd2ERwGU4usZt/uTOwnyLAvA763SQc8zqdIvfxvdqy4ljyEYn
A/+nDZ8Evc4jMX+fpmN3i+qOPz2B1B1R1SCFPrRdg+9WUkLbtVr/KTK0xWF2MkyZ
z+ggAwAPiEG7VF4kEDIdT5eeNhdqFBH58GpvKf/u/jYnxJtKw8A8+tKMHYzDrBEP
OIOSaFF75aO50p/cpa8TuofWY/uE/sbEmXYp9pp0AcyrRHKY+wQUzmBB30a/1bqk
znxOxZTEpgIniE/hy/zyGazsdK5+bjqk3TXPyrXtJPcCjk+e9eq1eamVRzm+Rqki
/1x7PaBu1wSiQvrrQELcE6HhYW7VLfz2ANO8KWm1SH43k25uvw95YwhOK9y8chjo
P9wiRBHjIxgrKTuArI6NJ/SnfMKoHy/4LTeqXU4EhEc8Na/wZOMw3UEpiS+kJYuM
nFBxjty0k/4=
=PIUM
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2022-1894:01 Moderate: rust-toolset:rhel8 security, bug fix,

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

Summary

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.

Solution

For details on how to apply this update, which includes the changesdescribed in this advisory, refer to:https://access.redhat.com/articles/11258

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/

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/

Severity
Advisory ID: RHSA-2022:1894-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2022:1894
Issued Date: : 2022-05-10
CVE Names: CVE-2022-21658

Topic

An update for the rust-toolset:rhel8 module is now available for Red HatEnterprise Linux 8.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

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

Bugs Fixed

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

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.