RHEL 8 : gcc (RHSA-2021:4386)

medium Nessus Plugin ID 155150

Synopsis

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

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2021:4386 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):

* libiberty: Integer overflow in demangle_template() function (CVE-2018-20673)

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.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from 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 package based on the guidance in RHSA-2021:4386.

See Also

http://www.nessus.org/u?7240878e

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: Medium

ID: 155150

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

Version: 1.10

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: Medium

Score: 4.4

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2018-20673

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:gcc-c%2b%2b, p-cpe:/a:redhat:enterprise_linux:libgfortran, p-cpe:/a:redhat:enterprise_linux:libstdc%2b%2b-static, p-cpe:/a:redhat:enterprise_linux:libquadmath-devel, p-cpe:/a:redhat:enterprise_linux:libgomp, p-cpe:/a:redhat:enterprise_linux:liblsan, p-cpe:/a:redhat:enterprise_linux:libitm, p-cpe:/a:redhat:enterprise_linux:gcc, p-cpe:/a:redhat:enterprise_linux:libasan, p-cpe:/a:redhat:enterprise_linux:libstdc%2b%2b-docs, p-cpe:/a:redhat:enterprise_linux:libatomic, p-cpe:/a:redhat:enterprise_linux:gcc-gdb-plugin, p-cpe:/a:redhat:enterprise_linux:libquadmath, p-cpe:/a:redhat:enterprise_linux:libgomp-offload-nvptx, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:gcc-offload-nvptx, p-cpe:/a:redhat:enterprise_linux:libgcc, p-cpe:/a:redhat:enterprise_linux:libtsan, p-cpe:/a:redhat:enterprise_linux:libstdc%2b%2b, p-cpe:/a:redhat:enterprise_linux:gcc-gfortran, p-cpe:/a:redhat:enterprise_linux:gcc-plugin-devel, p-cpe:/a:redhat:enterprise_linux:libubsan, p-cpe:/a:redhat:enterprise_linux:libitm-devel, p-cpe:/a:redhat:enterprise_linux:cpp, p-cpe:/a:redhat:enterprise_linux:libstdc%2b%2b-devel, p-cpe:/a:redhat:enterprise_linux:libatomic-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/9/2021

Vulnerability Publication Date: 12/27/2018

Reference Information

CVE: CVE-2018-20673

CWE: 122

RHSA: 2021:4386