RLSA-2021:4590

Type: Security
Severity: Moderate
Published: 2021-11-10
Rocky Linux 8

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.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:03:17.928Z UTC

Official vendor advisory

Rocky Linux 8

View source
Observed 2026-11-28T06:03:17.928Z UTC. Last updated 2025-12-10T09:35:48.793Z UTC.

Upstream Advisory

Affected Packages

  • cargo 0:1.54.0-3.module+el8.5.0+712+d335422a

  • cargo-doc 0:1.54.0-3.module+el8.5.0+712+d335422a

  • clippy 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rls 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-analysis 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-debugger-common 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-doc 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rustfmt 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-gdb 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-lldb 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-src 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-std-static 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-std-static-wasm32-unknown-unknown 0:1.54.0-3.module+el8.5.0+712+d335422a

  • rust-toolset 0:1.54.0-1.module+el8.5.0+678+cf7bc64b

Interested in being alerted when there are new versions of cargo and the other packages? Set up an alert.
RLSA-2021:4590: rust-toolset:rhel8 security update | Package Alert