Resource Exhaustion Affecting binutils package, versions <2.30-21ubuntu1~18.04.3


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.29% (67th 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-UBUNTU1804-BINUTILS-349005
  • published4 Oct 2018
  • disclosed4 Oct 2018

Introduced: 4 Oct 2018

CVE-2018-17985  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 binutils to version 2.30-21ubuntu1~18.04.3 or higher.

NVD Description

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

An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.