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

medium Nessus Plugin ID 184845

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:4386 advisory.

- The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, contains an integer overflow vulnerability (for Create an array for saving the template argument values) that can trigger a heap-based buffer overflow, as demonstrated by nm. (CVE-2018-20673)

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

File Name: rocky_linux_RLSA-2021-4386.nasl

Version: 1.0

Type: local

Published: 11/7/2023

Updated: 11/7/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

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

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

Vulnerability Publication Date: 12/27/2018

Reference Information

CVE: CVE-2018-20673