EulerOS 2.0 SP10 : gcc (EulerOS-SA-2022-2846)

critical Nessus Plugin ID 169001

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

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

- In gcc, an internal compiler error in match_reload function at lra-constraints.c may cause a crash through a crafted input file. (CVE-2020-35536)

- In gcc, a crafted input source file could cause g++ to crash during compilation when provided certain optimization flags. The problem resides in the ipcp_store_vr_results function in gcc/ipa-cp.c.
(CVE-2020-35537)

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?0559b19a

Plugin Details

Severity: Critical

ID: 169001

File Name: EulerOS_SA-2022-2846.nasl

Version: 1.1

Type: local

Published: 12/21/2022

Updated: 9/12/2023

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2020-35537

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:gcc, p-cpe:/a:huawei:euleros:gcc-c%2b%2b, p-cpe:/a:huawei:euleros:gcc-gfortran, p-cpe:/a:huawei:euleros:gcc-objc, p-cpe:/a:huawei:euleros:gcc-objc%2b%2b, p-cpe:/a:huawei:euleros:libgcc, 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 Ease: No known exploits are available

Patch Publication Date: 12/21/2022

Vulnerability Publication Date: 8/31/2022

Reference Information

CVE: CVE-2020-35536, CVE-2020-35537