RLSA-2021:4590

Source
https://errata.rockylinux.org/RLSA-2021:4590
Import Source
https://storage.googleapis.com/resf-osv-data/RLSA-2021:4590.json
JSON Data
https://api.osv.dev/v1/vulns/RLSA-2021:4590
Related
Published
2021-11-10T08:37:57Z
Modified
2023-02-02T14:12:11.114269Z
Severity
  • 8.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Moderate: rust-toolset:rhel8 security update
Details

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.

References
Credits
    • Rocky Enterprise Software Foundation
    • Red Hat

Affected packages

Rocky Linux:8 / rust

Package

Name
rust
Purl
pkg:rpm/rocky-linux/rust?distro=rocky-linux-8-5-legacy&epoch=0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0:1.54.0-3.module+el8.5.0+712+d335422a

Rocky Linux:8 / rust-toolset

Package

Name
rust-toolset
Purl
pkg:rpm/rocky-linux/rust-toolset?distro=rocky-linux-8-5-legacy&epoch=0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0:1.54.0-1.module+el8.5.0+678+cf7bc64b