Out-of-Bounds Affecting elfutils-libelf package, versions <0:0.176-2.amzn2
Snyk CVSS
Threat Intelligence
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-AMZN2-ELFUTILSLIBELF-1675421
- published 27 Sep 2021
- disclosed 19 Oct 2018
Introduced: 19 Oct 2018
CVE-2018-18520 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
elfutils-libelf
to version 0:0.176-2.amzn2 or higher.
This issue was patched in ALAS2-2019-1337
.
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 Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18520
- https://sourceware.org/bugzilla/show_bug.cgi?id=23787
- https://sourceware.org/ml/elfutils-devel/2018-q4/msg00057.html
- https://lists.debian.org/debian-lts-announce/2019/02/msg00036.html
- 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://lists.debian.org/debian-lts-announce/2021/10/msg00030.html