EulerOS 2.0 SP8 : gcc (EulerOS-SA-2024-1265)

medium Nessus Plugin ID 191807

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 :

- **DISPUTED**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. NOTE: The GCC project argues that this is a missed hardening bug and not a vulnerability by itself. (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?19d07ca2

Plugin Details

Severity: Medium

ID: 191807

File Name: EulerOS_SA-2024-1265.nasl

Version: 1.0

Type: local

Published: 3/12/2024

Updated: 3/12/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:libobjc, p-cpe:/a:huawei:euleros:libatomic, p-cpe:/a:huawei:euleros:libstdc%2b%2b, p-cpe:/a:huawei:euleros:libatomic-static, p-cpe:/a:huawei:euleros:gcc-objc%2b%2b, p-cpe:/a:huawei:euleros:libitm, p-cpe:/a:huawei:euleros:gcc-gfortran, p-cpe:/a:huawei:euleros:libgfortran, p-cpe:/a:huawei:euleros:cpp, p-cpe:/a:huawei:euleros:gcc-objc, p-cpe:/a:huawei:euleros:libitm-devel, p-cpe:/a:huawei:euleros:libasan, p-cpe:/a:huawei:euleros:libstdc%2b%2b-static, p-cpe:/a:huawei:euleros:libgomp, p-cpe:/a:huawei:euleros:gcc, p-cpe:/a:huawei:euleros:libstdc%2b%2b-devel, p-cpe:/a:huawei:euleros:libgcc, p-cpe:/a:huawei:euleros:gcc-c%2b%2b, cpe:/o:huawei:euleros:2.0

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: 3/12/2024

Vulnerability Publication Date: 9/8/2023

Reference Information

CVE: CVE-2023-4039