CVE Vulnerabilities

CVE-2021-3530

Uncontrolled Recursion

Published: Jun 02, 2021 | Modified: Sep 28, 2022
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
LOW

A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36. A crafted symbol can cause stack memory to be exhausted leading to a crash.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Binutils Gnu 2.36 (including) 2.36 (including)
Binutils Ubuntu hirsute *
Binutils Ubuntu impish *
Binutils Ubuntu precise/esm *
Binutils Ubuntu trusty *
Binutils Ubuntu xenial *
Gdb Ubuntu bionic *
Gdb Ubuntu jammy *
Gdb Ubuntu trusty *
Gdb Ubuntu xenial *
Libiberty Ubuntu hirsute *
Libiberty Ubuntu impish *
Libiberty Ubuntu jammy *
Libiberty Ubuntu trusty *
Libiberty Ubuntu xenial *

Potential Mitigations

References