RHEL 8 : gcc-toolset-11-gcc (RHSA-2021:4586)

high Nessus Plugin ID 155164

Synopsis

The remote Red Hat host is missing a security update for gcc-toolset-11-gcc.

Description

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

The gcc packages provide compilers for C, C++, Java, Fortran, Objective C, and Ada 95 GNU, as well as related support 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 gcc in order to facilitate detection of BiDi Unicode characters:

This update implements a new warning option -Wbidirectional to warn about possibly dangerous bidirectional characters.

There are three levels of warning supported by gcc:
-Wbidirectional=unpaired, which warns about improperly terminated BiDi contexts. (This is the default.)
-Wbidirectional=none, which turns the warning off.
-Wbidirectional=any, which warns about any use of bidirectional characters.

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 gcc-toolset-11-gcc package based on the guidance in RHSA-2021:4586.

See Also

http://www.nessus.org/u?d8ef0283

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

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

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

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

Plugin Details

Severity: High

ID: 155164

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

Version: 1.11

Type: local

Agent: unix

Published: 11/11/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:gcc-toolset-11-libitm-devel, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-gcc, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libgccjit-docs, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libatomic-devel, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libubsan-devel, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-gcc-gfortran, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-gcc-plugin-devel, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libstdc%2b%2b-docs, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-gcc-gdb-plugin, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-gcc-c%2b%2b, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libstdc%2b%2b-devel, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-liblsan-devel, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libgccjit, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libtsan-devel, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libgccjit-devel, p-cpe:/a:redhat:enterprise_linux:libasan6, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libquadmath-devel, p-cpe:/a:redhat:enterprise_linux:gcc-toolset-11-libasan-devel

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/10/2021

Vulnerability Publication Date: 11/1/2021

Reference Information

CVE: CVE-2021-42574

CWE: 838

IAVA: 2021-A-0528

RHSA: 2021:4586