Uncontrolled Recursion Affecting gdb package, versions <12.1-0ubuntu1~22.04


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.08% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-GDB-5862004
  • published28 May 2021
  • disclosed2 Jun 2021

Introduced: 28 May 2021

CVE-2021-3530  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 gdb to version 12.1-0ubuntu1~22.04 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gdb package and not the gdb package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1