RHEL 7 : devtoolset-11-gcc (RHSA-2021:4669)

high Nessus Plugin ID 155371

Synopsis

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

Description

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

The GNU Compiler Collection (GCC) is a portable compiler suite with support for various programming languages, including C, C++, and Fortran. The devtoolset-11-gcc packages provide the Red Hat Developer Toolset version of GCC, as well as related 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 devtoolset-11-gcc package based on the guidance in RHSA-2021:4669.

See Also

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

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

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

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

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

Plugin Details

Severity: High

ID: 155371

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

Version: 1.11

Type: local

Agent: unix

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

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

Vulnerability Publication Date: 11/1/2021

Reference Information

CVE: CVE-2021-42574

CWE: 838

IAVA: 2021-A-0528

RHSA: 2021:4669