Alibaba Cloud Linux 3 : 0116: rust-toolset:rhel8 (ALINUX3-SA-2022:0116)

high Nessus Plugin ID 236469

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALINUX3-SA-2022:0116 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

CVE-2019-12083:
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.

CVE-2021-42574:
** DISPUTED ** An issue was discovered in the Bidirectional Algorithm in the Unicode Specification through 14.0. It permits the visual reordering of characters via control sequences, which can be used to craft source code that renders different logic than the logical ordering of tokens ingested by compilers and interpreters. Adversaries can leverage this to encode source code for compilers accepting Unicode such that targeted vulnerabilities are introduced invisibly to human reviewers. NOTE: the Unicode Consortium offers the following alternative approach to presenting this concern. An issue is noted in the nature of international text that can affect applications that implement support for The Unicode Standard and the Unicode Bidirectional Algorithm (all versions). Due to text display behavior when text includes left-to- right and right-to-left characters, the visual order of tokens may be different from their logical order.
Additionally, control characters needed to fully support the requirements of bidirectional text can further obfuscate the logical order of tokens. Unless mitigated, an adversary could craft source code such that the ordering of tokens perceived by human reviewers does not match what will be processed by a compiler/interpreter/etc. The Unicode Consortium has documented this class of vulnerability in its document, Unicode Technical Report #36, Unicode Security Considerations. The Unicode Consortium also provides guidance on mitigations for this class of issues in Unicode Technical Standard #39, Unicode Security Mechanisms, and in Unicode Standard Annex #31, Unicode Identifier and Pattern Syntax. Also, the BIDI specification allows applications to tailor the implementation in ways that can mitigate misleading visual reordering in program text; see HL4 in Unicode Standard Annex #9, Unicode Bidirectional Algorithm.

Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux security advisory.

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

Solution

Update the affected packages.

See Also

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20220116.xml

Plugin Details

Severity: High

ID: 236469

File Name: alinux3_sa_2022-0116.nasl

Version: 1.1

Type: local

Published: 5/14/2025

Updated: 5/14/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2019-12083

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

CVSS Score Source: CVE-2021-42574

Vulnerability Information

CPE: p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cargo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rls, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-lldb, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-analysis, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-gdb, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:clippy, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cargo-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-src, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:clippy-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:cargo-doc, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-doc, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-std-static-wasm32-unknown-unknown, cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rls-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rustfmt-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-std-static, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-debugger-common, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-toolset, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rustfmt, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:rust-debuginfo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/23/2022

Vulnerability Publication Date: 5/13/2019

Reference Information

CVE: CVE-2019-12083, CVE-2021-42574