Resource Exhaustion Affecting binutils-devel package, versions <0:2.27-41.base.el7


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.33% (72nd 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-BINUTILSDEVEL-2142394
  • published26 Jul 2021
  • disclosed13 Apr 2018

Introduced: 13 Apr 2018

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

How to fix?

Upgrade Centos:7 binutils-devel to version 0:2.27-41.base.el7 or higher.

NVD Description

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

An issue was discovered in arm_pt in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_arm_hp_template, demangle_class_name, demangle_fund_type, do_type, do_arg, demangle_args, and demangle_nested_args. This can occur during execution of nm-new.