Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libiberty package, versions <20170913-1ubuntu0.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.69% (77th 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-LIBIBERTY-564916
  • published28 Oct 2018
  • disclosed29 Oct 2018

Introduced: 28 Oct 2018

CVE-2018-18700  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 libiberty to version 20170913-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libiberty package and not the libiberty 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 vulnerability resulting from infinite recursion in the functions d_name(), d_encoding(), and d_local_name() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.