Rocky Linux 8 : gcc (RLSA-2021:4587)

high Nessus Plugin ID 185055

Synopsis

The remote Rocky Linux host is missing a security update.

Description

The remote Rocky Linux 8 host has packages installed that are affected by a vulnerability as referenced in the RLSA-2021:4587 advisory.

- ** 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.
(CVE-2021-42574)

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.rockylinux.org/RLSA-2021:4587

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

Plugin Details

Severity: High

ID: 185055

File Name: rocky_linux_RLSA-2021-4587.nasl

Version: 1.0

Type: local

Published: 11/7/2023

Updated: 11/7/2023

Supported Sensors: 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:rocky:linux:libgomp-offload-nvptx-debuginfo, p-cpe:/a:rocky:linux:libatomic-debuginfo, p-cpe:/a:rocky:linux:gcc-plugin-devel, p-cpe:/a:rocky:linux:liblsan-debuginfo, p-cpe:/a:rocky:linux:gcc-gfortran, p-cpe:/a:rocky:linux:libstdc%2b%2b-docs, p-cpe:/a:rocky:linux:libatomic, p-cpe:/a:rocky:linux:libatomic-static, p-cpe:/a:rocky:linux:libtsan-debuginfo, p-cpe:/a:rocky:linux:gcc-gdb-plugin-debuginfo, p-cpe:/a:rocky:linux:cpp, p-cpe:/a:rocky:linux:gcc-debugsource, p-cpe:/a:rocky:linux:libstdc%2b%2b, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:libgomp-debuginfo, p-cpe:/a:rocky:linux:gcc-c%2b%2b, p-cpe:/a:rocky:linux:libquadmath-devel, p-cpe:/a:rocky:linux:libstdc%2b%2b-static, p-cpe:/a:rocky:linux:libstdc%2b%2b-devel, p-cpe:/a:rocky:linux:gcc-offload-nvptx, p-cpe:/a:rocky:linux:libquadmath-debuginfo, p-cpe:/a:rocky:linux:libasan-debuginfo, p-cpe:/a:rocky:linux:libgomp-offload-nvptx, p-cpe:/a:rocky:linux:libgfortran-debuginfo, p-cpe:/a:rocky:linux:libubsan-debuginfo, p-cpe:/a:rocky:linux:gcc-plugin-devel-debuginfo, p-cpe:/a:rocky:linux:libgomp, p-cpe:/a:rocky:linux:libasan, p-cpe:/a:rocky:linux:liblsan, p-cpe:/a:rocky:linux:libgcc, p-cpe:/a:rocky:linux:libitm-devel, p-cpe:/a:rocky:linux:libitm, p-cpe:/a:rocky:linux:libgcc-debuginfo, p-cpe:/a:rocky:linux:gcc-debuginfo, p-cpe:/a:rocky:linux:gcc-gdb-plugin, p-cpe:/a:rocky:linux:libquadmath, p-cpe:/a:rocky:linux:gcc, p-cpe:/a:rocky:linux:gcc-gfortran-debuginfo, p-cpe:/a:rocky:linux:gcc-c%2b%2b-debuginfo, p-cpe:/a:rocky:linux:libitm-debuginfo, p-cpe:/a:rocky:linux:libubsan, p-cpe:/a:rocky:linux:libstdc%2b%2b-debuginfo, p-cpe:/a:rocky:linux:gcc-offload-nvptx-debuginfo, p-cpe:/a:rocky:linux:libtsan, p-cpe:/a:rocky:linux:cpp-debuginfo, p-cpe:/a:rocky:linux:libgfortran

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/10/2021

Vulnerability Publication Date: 10/28/2021

Reference Information

CVE: CVE-2021-42574