- Issued:
- 2021-11-16
- Updated:
- 2021-11-16
RHSA-2021:4694 - Moderate: rust-toolset-1.54-rust security update
Synopsis
Moderate: rust-toolset-1.54-rust security update
Type/Severity
Security Advisory Moderate
Topic
An update for rust-toolset-1.54-rust is now available for Red Hat Developer Tools.
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 Developer Tools (for RHEL Workstation) | 1 | x86_64 |
| Red Hat Developer Tools (for RHEL Server) | 1 | x86_64 |
| Red Hat Developer Tools (for RHEL Server for System Z) | 1 | s390x |
| Red Hat Developer Tools (for RHEL Server for IBM Power) | 1 | ppc64 |
| Red Hat Developer Tools (for RHEL Server for IBM Power LE) | 1 | ppc64le |
Updated Packages
- rust-toolset-1.54-cargo-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-rls-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-cargo-doc-1.54.0-4.el7_9.noarch.rpm
- rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-rls-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-cargo-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-clippy-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-clippy-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-rls-1.54.0-4.el7_9.s390x.rpm
- rust-toolset-1.54-rust-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-clippy-1.54.0-4.el7_9.s390x.rpm
- rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.s390x.rpm
- rust-toolset-1.54-rls-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-rust-1.54.0-4.el7_9.src.rpm
- rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.s390x.rpm
- rust-toolset-1.54-rust-1.54.0-4.el7_9.s390x.rpm
- rust-toolset-1.54-rust-gdb-1.54.0-4.el7_9.noarch.rpm
- rust-toolset-1.54-rust-src-1.54.0-4.el7_9.noarch.rpm
- rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-rust-debuginfo-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-cargo-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-rust-debugger-common-1.54.0-4.el7_9.noarch.rpm
- rust-toolset-1.54-rust-debuginfo-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-rust-lldb-1.54.0-4.el7_9.noarch.rpm
- rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.s390x.rpm
- rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-clippy-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.x86_64.rpm
- rust-toolset-1.54-cargo-1.54.0-4.el7_9.s390x.rpm
- rust-toolset-1.54-rust-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-rust-debuginfo-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-rust-doc-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-rustfmt-1.54.0-4.el7_9.ppc64le.rpm
- rust-toolset-1.54-rust-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-rust-analysis-1.54.0-4.el7_9.ppc64.rpm
- rust-toolset-1.54-rust-std-static-1.54.0-4.el7_9.s390x.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
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.