CVE-2022-27943

ADVISORY - ubuntu

Summary

libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.

EPSS Score: 0.00044 (0.131)

Common Weakness Enumeration (CWE)

ADVISORY - nist

Uncontrolled Recursion

ADVISORY - redhat

Uncontrolled Resource Consumption


Ubuntu

CREATED

UPDATED

EXPLOITABILITY SCORE

1.8

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-

CVSS SCORE

5.5low
PackageTypeOS NameOS VersionAffected RangesFix Versions
ubuntu/gcc-12debubuntu22.04>=0Not yet available
ubuntu/binutilsdebubuntu14.04>=0Not yet available
ubuntu/binutilsdebubuntu16.04>=0Not yet available
ubuntu/binutilsdebubuntu22.04>=0Not yet available
ubuntu/crashdebubuntu16.04>=0Not yet available
ubuntu/crashdebubuntu14.04>=0Not yet available
ubuntu/crashdebubuntu18.04>=0Not yet available
ubuntu/gcc-10debubuntu21.10>=0Not yet available
ubuntu/gcc-11debubuntu21.10>=0Not yet available
ubuntu/gcc-11debubuntu22.10>=0Not yet available
ubuntu/gcc-11debubuntu23.04>=0Not yet available
ubuntu/gcc-11debubuntu24.04>=0Not yet available
ubuntu/gcc-11debubuntu22.04>=0Not yet available
ubuntu/gcc-11debubuntu25.04>=0Not yet available
ubuntu/gcc-11debubuntu23.10>=0Not yet available
ubuntu/gcc-11debubuntu24.10>=0Not yet available
ubuntu/gcc-12debubuntu23.10>=0Not yet available
ubuntu/gcc-12debubuntu23.04>=0Not yet available
ubuntu/gcc-12debubuntu25.04>=0Not yet available
ubuntu/gcc-12debubuntu24.10>=0Not yet available
ubuntu/gcc-12debubuntu24.04>=0Not yet available
ubuntu/gcc-3.3debubuntu16.04>=0Not yet available
ubuntu/gcc-3.3debubuntu14.04>=0Not yet available
ubuntu/gcc-3.3debubuntu22.10>=0Not yet available
ubuntu/gcc-4.4debubuntu14.04>=0Not yet available
ubuntu/gcc-4.6debubuntu14.04>=0Not yet available
ubuntu/gcc-4.7debubuntu14.04>=0Not yet available
ubuntu/gcc-4.7debubuntu16.04>=0Not yet available
ubuntu/gcc-4.7-armel-crossdebubuntu16.04>=0Not yet available
ubuntu/gcc-4.7-armel-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-4.7-armhf-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-4.7-armhf-crossdebubuntu16.04>=0Not yet available
ubuntu/gcc-4.8debubuntu16.04>=0Not yet available
ubuntu/gcc-4.8debubuntu14.04>=0Not yet available
ubuntu/gcc-4.8-arm64-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-4.8-arm64-crossdebubuntu16.04>=0Not yet available
ubuntu/gcc-4.8-armhf-crossdebubuntu16.04>=0Not yet available
ubuntu/gcc-4.8-armhf-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-4.8-powerpc-crossdebubuntu16.04>=0Not yet available
ubuntu/gcc-4.8-powerpc-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-4.8-ppc64el-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-4.8-ppc64el-crossdebubuntu16.04>=0Not yet available
ubuntu/gcc-4.9debubuntu16.04>=0Not yet available
ubuntu/gcc-5debubuntu16.04>=0Not yet available
ubuntu/gcc-5-crossdebubuntu16.04>=0Not yet available
ubuntu/gcc-7debubuntu18.04>=0Not yet available
ubuntu/gcc-7-crossdebubuntu18.04>=0Not yet available
ubuntu/gcc-7-cross-portsdebubuntu18.04>=0Not yet available
ubuntu/gcc-8debubuntu18.04>=0Not yet available
ubuntu/gcc-8debubuntu21.10>=0Not yet available
ubuntu/gcc-8-crossdebubuntu18.04>=0Not yet available
ubuntu/gcc-8-cross-portsdebubuntu18.04>=0Not yet available
ubuntu/gcc-9debubuntu21.10>=0Not yet available
ubuntu/gcc-9-crossdebubuntu22.10>=0Not yet available
ubuntu/gcc-9-crossdebubuntu21.10>=0Not yet available
ubuntu/gcc-9-cross-portsdebubuntu22.10>=0Not yet available
ubuntu/gcc-9-cross-portsdebubuntu21.10>=0Not yet available
ubuntu/gcc-arm-linux-androideabidebubuntu14.04>=0Not yet available
ubuntu/gcc-arm-linux-androideabidebubuntu16.04>=0Not yet available
ubuntu/gcc-arm-none-eabidebubuntu16.04>=0Not yet available
ubuntu/gcc-arm-none-eabidebubuntu21.10>=0Not yet available
ubuntu/gcc-arm-none-eabidebubuntu23.04>=0Not yet available
ubuntu/gcc-arm-none-eabidebubuntu23.10>=0Not yet available
ubuntu/gcc-arm-none-eabidebubuntu22.10>=0Not yet available
ubuntu/gcc-arm-none-eabidebubuntu14.04>=0Not yet available
ubuntu/gcc-arm-none-eabidebubuntu18.04>=0Not yet available
ubuntu/gcc-avrdebubuntu23.10>=0Not yet available
ubuntu/gcc-avrdebubuntu22.10>=0Not yet available
ubuntu/gcc-avrdebubuntu16.04>=0Not yet available
ubuntu/gcc-avrdebubuntu23.04>=0Not yet available
ubuntu/gcc-avrdebubuntu18.04>=0Not yet available
ubuntu/gcc-avrdebubuntu21.10>=0Not yet available
ubuntu/gcc-avrdebubuntu14.04>=0Not yet available
ubuntu/gcc-defaultsdebubuntu23.10>=0Not yet available
ubuntu/gcc-defaultsdebubuntu21.10>=0Not yet available
ubuntu/gcc-defaultsdebubuntu22.10>=0Not yet available
ubuntu/gcc-defaultsdebubuntu23.04>=0Not yet available
ubuntu/gcc-defaultsdebubuntu18.04>=0Not yet available
ubuntu/gcc-defaults-arm64-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-defaults-armel-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-defaults-armhf-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-defaults-powerpc-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-defaults-ppc64el-crossdebubuntu14.04>=0Not yet available
ubuntu/gcc-h8300-hmsdebubuntu23.04>=0Not yet available
ubuntu/gcc-h8300-hmsdebubuntu22.10>=0Not yet available
ubuntu/gcc-h8300-hmsdebubuntu23.10>=0Not yet available
ubuntu/gcc-h8300-hmsdebubuntu14.04>=0Not yet available
ubuntu/gcc-h8300-hmsdebubuntu16.04>=0Not yet available
ubuntu/gcc-h8300-hmsdebubuntu18.04>=0Not yet available
ubuntu/gcc-h8300-hmsdebubuntu21.10>=0Not yet available
ubuntu/gcc-i686-linux-androiddebubuntu14.04>=0Not yet available
ubuntu/gcc-i686-linux-androiddebubuntu16.04>=0Not yet available
ubuntu/gcc-m68hc1xdebubuntu16.04>=0Not yet available
ubuntu/gcc-m68hc1xdebubuntu22.10>=0Not yet available
ubuntu/gcc-m68hc1xdebubuntu18.04>=0Not yet available
ubuntu/gcc-m68hc1xdebubuntu21.10>=0Not yet available
ubuntu/gcc-m68hc1xdebubuntu14.04>=0Not yet available
ubuntu/gcc-mingw-w64debubuntu23.10>=0Not yet available
ubuntu/gcc-mingw-w64debubuntu23.04>=0Not yet available
ubuntu/gcc-mingw-w64debubuntu21.10>=0Not yet available
ubuntu/gcc-mingw-w64debubuntu14.04>=0Not yet available
ubuntu/gcc-mingw-w64debubuntu22.10>=0Not yet available
ubuntu/gcc-mingw-w64debubuntu18.04>=0Not yet available
ubuntu/gcc-mingw-w64debubuntu16.04>=0Not yet available
ubuntu/gcc-msp430debubuntu23.04>=0Not yet available
ubuntu/gcc-msp430debubuntu14.04>=0Not yet available
ubuntu/gcc-msp430debubuntu16.04>=0Not yet available
ubuntu/gcc-msp430debubuntu18.04>=0Not yet available
ubuntu/gcc-msp430debubuntu21.10>=0Not yet available
ubuntu/gcc-msp430debubuntu22.10>=0Not yet available
ubuntu/gcc-msp430debubuntu23.10>=0Not yet available
ubuntu/gcc-optdebubuntu23.10>=0Not yet available
ubuntu/gcc-optdebubuntu22.10>=0Not yet available
ubuntu/gcc-optdebubuntu16.04>=0Not yet available
ubuntu/gcc-optdebubuntu21.10>=0Not yet available
ubuntu/gcc-optdebubuntu23.04>=0Not yet available
ubuntu/gcc-optdebubuntu18.04>=0Not yet available
ubuntu/gcc-optdebubuntu14.04>=0Not yet available
ubuntu/gcc-snapshotdebubuntu16.04>=0Not yet available
ubuntu/gcc-snapshotdebubuntu14.04>=0Not yet available
ubuntu/gcc-snapshotdebubuntu22.04>=0Not yet available
ubuntu/gcc-snapshotdebubuntu21.10>=0Not yet available
ubuntu/gcc-snapshotdebubuntu22.10>=0Not yet available
ubuntu/gcc-snapshotdebubuntu18.04>=0Not yet available
ubuntu/gcc-snapshotdebubuntu20.04>=0Not yet available
ubuntu/gccgo-4.9debubuntu14.04>=0Not yet available
ubuntu/gccgo-6debubuntu16.04>=0Not yet available
ubuntu/gdbdebubuntu16.04>=0Not yet available
ubuntu/gdbdebubuntu14.04>=0Not yet available
ubuntu/gdbdebubuntu18.04>=0Not yet available
ubuntu/gdbdebubuntu22.04>=0Not yet available
ubuntu/libibertydebubuntu14.04>=0Not yet available
ubuntu/libibertydebubuntu16.04>=0Not yet available
ubuntu/libibertydebubuntu22.04>=0Not yet available

CVSS:3 Severity and metrics

The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.

The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities. Either: The attacker exploits the vulnerability by accessing the target system locally (e.g., keyboard, console), or remotely (e.g., SSH); or the attacker relies on User Interaction by another person to perform actions required to exploit the vulnerability (e.g., using social engineering techniques to trick a legitimate user into opening a malicious document).

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.

Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited. For example, a successful exploit may only be possible during the installation of an application by a system administrator.

An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.

There is no loss of confidentiality.

There is no loss of trust or accuracy within the impacted component.

There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component.

NIST

CREATED

UPDATED

EXPLOITABILITY SCORE

1.8

EXPLOITS FOUND
COMMON WEAKNESS ENUMERATION (CWE)

CVSS SCORE

5.5medium

Debian

CREATED

UPDATED

EXPLOITABILITY SCORE

-

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-

CVSS SCORE

N/Alow

Amazon

CREATED

UPDATED

EXPLOITABILITY SCORE

-

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)-

CVSS SCORE

N/Alow

Red Hat

CREATED

UPDATED

EXPLOITABILITY SCORE

1.8

EXPLOITS FOUND
-
COMMON WEAKNESS ENUMERATION (CWE)

CVSS SCORE

5.5low

intheWild

CREATED

UPDATED

EXPLOITABILITY SCORE

-

EXPLOITS FOUND

-

COMMON WEAKNESS ENUMERATION (CWE)-
RATING UNAVAILABLE FROM ADVISORY