Amazon Linux 2 : gcc10 (ALAS-2023-2244)

medium Nessus Plugin ID 181361

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of gcc10 installed on the remote host is prior to 10.5.0-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2023-2244 advisory.

2023-09-13: The severity of this advisory was corrected from low to medium.

An issue was found in a defense in depth feature of the GCC compiler on aarch64 platforms. The stack protector feature (-fstack-protector) did not detect or defend against overflows of dynamically-sized local variables. This update to the GCC compiler remedies code generation for this defense in depth feature, ensuring it is working as intended.Customers building their own binaries with GCC are advised to update their compiler, and to ensure they are enabling the defense in depth options available to them, such as the stack protector. (CVE-2023-4039)

Tenable has extracted the preceding description block directly from the tested product 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

Run 'yum update gcc10' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2244.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4039.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 181361

File Name: al2_ALAS-2023-2244.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/13/2023

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

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

CVSS Score Source: CVE-2023-4039

CVSS v3

Risk Factor: Medium

Base Score: 4.8

Temporal Score: 4.3

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:gcc10-debuginfo, p-cpe:/a:amazon:linux:libitm10-devel, p-cpe:/a:amazon:linux:libstdc%2b%2b10-docs, p-cpe:/a:amazon:linux:gcc10-gdb-plugin, p-cpe:/a:amazon:linux:gcc10, p-cpe:/a:amazon:linux:libgfortran10, p-cpe:/a:amazon:linux:libstdc%2b%2b10-devel, p-cpe:/a:amazon:linux:cpp10, p-cpe:/a:amazon:linux:libquadmath10-devel, p-cpe:/a:amazon:linux:libasan10, p-cpe:/a:amazon:linux:libatomic10-devel, p-cpe:/a:amazon:linux:gcc10-gfortran, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:libasan10-devel, p-cpe:/a:amazon:linux:gcc10-c%2b%2b, p-cpe:/a:amazon:linux:gcc10-plugin-devel

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/8/2023

Vulnerability Publication Date: 9/8/2023

Reference Information

CVE: CVE-2023-4039