Missing Release of Resource after Effective Lifetime Affecting gdb-gdbserver package, versions <0:8.2-6.el8


Severity

Recommended
low

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
4% (91st 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-ORACLE8-GDBGDBSERVER-2541945
  • published10 Apr 2022
  • disclosed2 Jan 2019

Introduced: 2 Jan 2019

CVE-2018-20657  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade Oracle:8 gdb-gdbserver to version 0:8.2-6.el8 or higher.
This issue was patched in ELSA-2019-3352.

NVD Description

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

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.