EulerOS 2.0 SP9 : gcc (EulerOS-SA-2022-2729)

critical Nessus Plugin ID 167415


The remote EulerOS host is missing multiple security updates.


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.

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.


Update the affected gcc packages.

See Also

Plugin Details

Severity: Critical

ID: 167415

File Name: EulerOS_SA-2022-2729.nasl

Version: 1.4

Type: local

Published: 11/14/2022

Updated: 10/4/2023

Supported Sensors: Nessus

Risk Information


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


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: 11/14/2022

Vulnerability Publication Date: 8/31/2022

Reference Information

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