Heap-based Buffer Overflow Affecting elfutils-libelf package, versions <0:0.176-2.el7
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Threat Intelligence
EPSS
0.2% (58th
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 ID SNYK-CENTOS7-ELFUTILSLIBELF-2144471
- published 26 Jul 2021
- disclosed 15 Aug 2018
How to fix?
Upgrade Centos:7
elfutils-libelf
to version 0:0.176-2.el7 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream elfutils-libelf
package and not the elfutils-libelf
package as distributed by Centos
.
See How to fix?
for Centos:7
relevant fixed versions and status.
libdw in elfutils 0.173 checks the end of the attributes list incorrectly in dwarf_getabbrev in dwarf_getabbrev.c and dwarf_hasattr in dwarf_hasattr.c, leading to a heap-based buffer over-read and an application crash.
References
- https://access.redhat.com/security/cve/CVE-2018-16403
- https://sourceware.org/bugzilla/show_bug.cgi?id=23529
- https://sourceware.org/git/?p=elfutils.git;a=commit;h=6983e59b727458a6c64d9659c85f08218bc4fcda
- https://access.redhat.com/errata/RHSA-2019:2197
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00052.html
- https://usn.ubuntu.com/4012-1/
- https://sourceware.org/git/?p=elfutils.git%3Ba=commit%3Bh=6983e59b727458a6c64d9659c85f08218bc4fcda