AlmaLinux 8 : rust-toolset:rhel8 (ALSA-2021:4590)

high Nessus Plugin ID 157675

Synopsis

The remote AlmaLinux host is missing a security update.

Description

The remote AlmaLinux 8 host has packages installed that are affected by a vulnerability as referenced in the ALSA-2021:4590 advisory.

* 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.

Tenable has extracted the preceding description block directly from the AlmaLinux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://errata.almalinux.org/8/ALSA-2021-4590.html

Plugin Details

Severity: High

ID: 157675

File Name: alma_linux_ALSA-2021-4590.nasl

Version: 1.5

Type: local

Published: 2/9/2022

Updated: 1/13/2025

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-42574

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.5

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:alma:linux:rls, p-cpe:/a:alma:linux:rustfmt, p-cpe:/a:alma:linux:rust-gdb, p-cpe:/a:alma:linux:cargo, p-cpe:/a:alma:linux:clippy, p-cpe:/a:alma:linux:rust-doc, p-cpe:/a:alma:linux:rust-toolset, p-cpe:/a:alma:linux:rust-lldb, p-cpe:/a:alma:linux:rust-src, p-cpe:/a:alma:linux:rust-analysis, cpe:/o:alma:linux:8, p-cpe:/a:alma:linux:rust-std-static-wasm32-unknown-unknown, p-cpe:/a:alma:linux:rust, p-cpe:/a:alma:linux:rust-debugger-common, p-cpe:/a:alma:linux:rust-std-static, p-cpe:/a:alma:linux:cargo-doc

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/AlmaLinux/release, Host/AlmaLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/10/2021

Vulnerability Publication Date: 11/1/2021

Reference Information

CVE: CVE-2021-42574

IAVA: 2021-A-0528