Denial of service in GNU GCC



| Updated: 2022-11-15
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-46195
CWE-ID CWE-674
Exploitation vector Local
Public exploit N/A
Vulnerable software
Gnu Compiler Collection
Client/Desktop applications / Software for system administration

Vendor GNU

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Uncontrolled Recursion

EUVDB-ID: #VU69349

Risk: Low

CVSSv4.0: 1.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-46195

CWE-ID: CWE-674 - Uncontrolled Recursion

Exploit availability: No

Description

The vulnerability allows an attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to uncontrolled recursion in the libiberty/rust-demangle.c component. An attacker with ability to pass specially crafted input to the GCC application can consume excessive CPU and memory resources and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Gnu Compiler Collection: 12.0.0

CPE2.3 External links

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103841


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###