ALSA-2021:4590

Source
https://errata.almalinux.org/8/ALSA-2021-4590.html
Import Source
https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2021:4590.json
JSON Data
https://api.osv.dev/v1/vulns/ALSA-2021:4590
Related
Published
2021-11-10T08:37:57Z
Modified
2021-11-12T17:54:17Z
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

Affected packages

AlmaLinux:8 / cargo

Package

Name
cargo

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / cargo-doc

Package

Name
cargo-doc

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / clippy

Package

Name
clippy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rls

Package

Name
rls

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust

Package

Name
rust

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-analysis

Package

Name
rust-analysis

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-debugger-common

Package

Name
rust-debugger-common

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-doc

Package

Name
rust-doc

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-gdb

Package

Name
rust-gdb

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-lldb

Package

Name
rust-lldb

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-src

Package

Name
rust-src

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-std-static

Package

Name
rust-std-static

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-std-static-wasm32-unknown-unknown

Package

Name
rust-std-static-wasm32-unknown-unknown

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rust-toolset

Package

Name
rust-toolset

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-1.module_el8.5.0+2599+d655d86c

AlmaLinux:8 / rustfmt

Package

Name
rustfmt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.54.0-3.module_el8.5.0+2599+d655d86c