Out-of-bounds Read Affecting elfutils package, versions [,0.176)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.21% (81st 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 Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ELFUTILS-2334942
  • published12 Jan 2022
  • disclosed29 Jan 2019
  • creditUnknown

Introduced: 29 Jan 2019

CVE-2019-7149  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade elfutils to version 0.176 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. A heap-based buffer over-read was discovered in the function read_srclines in dwarf_getsrclines.c in libdw in elfutils 0.175. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by eu-nm.

References

CVSS Base Scores

version 3.1