- Issued:
- 2021-11-10
- Updated:
- 2021-11-10
RHSA-2021:4590 - Moderate: rust-toolset:rhel8 security update
Synopsis
Moderate: rust-toolset:rhel8 security update
Type/Severity
Security Advisory Moderate
Topic
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.
Description
Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries.
Security Fix(es):
- Developer environment: Unicode's bidirectional (BiDi) override characters can cause trojan source attacks (CVE-2021-42574)
The following changes were introduced in rust in order to facilitate detection of BiDi Unicode characters:
Rust introduces two new lints to detect and reject code containing the affected codepoints. These new deny-by-default lints detect affected codepoints in string literals and comments. The lints will prevent source code file containing these codepoints from being compiled. If your code has legitimate uses for the codepoints we recommend replacing them with the related escape sequence. The error messages will suggest the right escapes to use.
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.
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
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for x86_64 | 8 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 8.8 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 8.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 8.8 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 8.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension | 8.8 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension | 8.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Life Cycle | 8.10 | x86_64 |
| Red Hat Enterprise Linux for Power, little endian | 8 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 8.8 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 8.6 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Life Cycle | 8.10 | ppc64le |
| Red Hat Enterprise Linux for IBM z Systems | 8 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 8.8 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 8.6 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Life Cycle | 8.10 | s390x |
| Red Hat Enterprise Linux for ARM 64 | 8 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Update Support | 8.8 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Update Support | 8.6 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Life Cycle | 8.10 | aarch64 |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 8.8 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 8.6 | ppc64le |
| Red Hat Enterprise Linux Server - TUS | 8.8 | x86_64 |
| Red Hat Enterprise Linux Server - TUS | 8.6 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 8.6 | x86_64 |
Updated Packages
- rls-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- cargo-doc-1.54.0-3.module+el8.5.0+13074+d655d86c.noarch.rpm
- cargo-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-toolset-1.54.0-1.module+el8.5.0+12195+effd8a03.src.rpm
- rust-1.54.0-3.module+el8.5.0+13074+d655d86c.src.rpm
- clippy-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-toolset-1.54.0-1.module+el8.5.0+12195+effd8a03.aarch64.rpm
- rustfmt-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rustfmt-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-std-static-wasm32-unknown-unknown-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- cargo-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-src-1.54.0-3.module+el8.5.0+13074+d655d86c.noarch.rpm
- rust-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rls-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-std-static-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- clippy-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-debugsource-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-analysis-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-debugger-common-1.54.0-3.module+el8.5.0+13074+d655d86c.noarch.rpm
- rust-gdb-1.54.0-3.module+el8.5.0+13074+d655d86c.noarch.rpm
- rust-lldb-1.54.0-3.module+el8.5.0+13074+d655d86c.noarch.rpm
- rust-doc-1.54.0-3.module+el8.5.0+13074+d655d86c.aarch64.rpm
- rust-toolset-1.54.0-1.module+el8.5.0+12195+effd8a03.s390x.rpm
- rust-analysis-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rust-doc-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rustfmt-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- clippy-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rustfmt-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- clippy-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- cargo-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rust-debugsource-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rls-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rust-std-static-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rust-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- cargo-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rust-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- rls-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.s390x.rpm
- clippy-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-std-static-wasm32-unknown-unknown-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- cargo-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rls-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-debugsource-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- clippy-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- cargo-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-analysis-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-doc-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rustfmt-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rls-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-toolset-1.54.0-1.module+el8.5.0+12195+effd8a03.ppc64le.rpm
- rustfmt-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- rust-std-static-1.54.0-3.module+el8.5.0+13074+d655d86c.ppc64le.rpm
- cargo-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rustfmt-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rls-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rls-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-debugsource-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-analysis-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-std-static-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- cargo-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-std-static-wasm32-unknown-unknown-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-toolset-1.54.0-1.module+el8.5.0+12195+effd8a03.x86_64.rpm
- clippy-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rustfmt-debuginfo-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- rust-doc-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
- clippy-1.54.0-3.module+el8.5.0+13074+d655d86c.x86_64.rpm
Fixes
CVEs
References
- https://access.redhat.com/security/updates/classification/#moderate
- This content is not included.This content is not included.https://access.redhat.com/security/vulnerabilities/RHSB-2021-007
- Content from blog.rust-lang.org is not included.Content from blog.rust-lang.org is not included.https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.