RHEL 7 : rust-toolset-1.54-rust (RHSA-2021:4694)

high Nessus Plugin ID 155378

Synopsis

The remote Red Hat host is missing a security update for rust-toolset-1.54-rust.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2021:4694 advisory.

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.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux 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 RHEL rust-toolset-1.54-rust package based on the guidance in RHSA-2021:4694.

See Also

http://www.nessus.org/u?6c572732

https://access.redhat.com/security/updates/classification/#moderate

https://access.redhat.com/security/vulnerabilities/RHSB-2021-007

https://access.redhat.com/errata/RHSA-2021:4694

https://bugzilla.redhat.com/show_bug.cgi?id=2005819

Plugin Details

Severity: High

ID: 155378

File Name: redhat-RHSA-2021-4694.nasl

Version: 1.11

Type: local

Agent: unix

Published: 11/17/2021

Updated: 11/7/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

Vendor

Vendor Severity: Moderate

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:redhat:enterprise_linux:rust-toolset-1.54-cargo-doc, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rustfmt, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust-gdb, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust-analysis, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust-src, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-clippy, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-cargo, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust-debugger-common, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rls, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust-doc, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust-lldb, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.54-rust-std-static

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/16/2021

Vulnerability Publication Date: 11/1/2021

Reference Information

CVE: CVE-2021-42574

CWE: 838

IAVA: 2021-A-0528

RHSA: 2021:4694