EulerOS 2.0 SP11 : gcc (EulerOS-SA-2024-1118)

medium Nessus Plugin ID 189677

Synopsis

The remote EulerOS host is missing a security update.

Description

According to the versions of the gcc packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- A failure in the -fstack-protector feature in GCC-based toolchains that target AArch64 allows an attacker to exploit an existing buffer overflow in dynamically-sized local variables in your application without this being detected. This stack-protector failure only applies to C99-style dynamically-sized local variables or those created using alloca(). The stack-protector operates as intended for statically-sized local variables. The default behavior when the stack-protector detects an overflow is to terminate your application, resulting in controlled loss of availability. An attacker who can exploit a buffer overflow without triggering the stack-protector might be able to change program flow control to cause an uncontrolled loss of availability or to go further and affect confidentiality or integrity.
(CVE-2023-4039)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected gcc packages.

See Also

http://www.nessus.org/u?36db55da

Plugin Details

Severity: Medium

ID: 189677

File Name: EulerOS_SA-2024-1118.nasl

Version: 1.0

Type: local

Published: 1/26/2024

Updated: 1/26/2024

Supported Sensors: 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:huawei:euleros:libasan, p-cpe:/a:huawei:euleros:libquadmath, cpe:/o:huawei:euleros:2.0, p-cpe:/a:huawei:euleros:libgfortran, p-cpe:/a:huawei:euleros:libobjc, p-cpe:/a:huawei:euleros:libatomic, p-cpe:/a:huawei:euleros:libgcc, p-cpe:/a:huawei:euleros:libstdc%2b%2b, p-cpe:/a:huawei:euleros:libgomp

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/EulerOS/release, Host/EulerOS/rpm-list, Host/EulerOS/sp

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/26/2024

Vulnerability Publication Date: 9/8/2023

Reference Information

CVE: CVE-2023-4039