Allocation of Resources Without Limits or Throttling Affecting elfutils package, versions <0.176-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (43rd 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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE313-ELFUTILS-1067101
  • published21 Jul 2020
  • disclosed29 Jan 2019

Introduced: 29 Jan 2019

CVE-2019-7148  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Alpine:3.13 elfutils to version 0.176-r0 or higher.

NVD Description

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

An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a "warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens."