Out-of-bounds Write Affecting elfutils-libelf package, versions <0:0.176-2.amzn2.0.2
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-5912533
- published 21 Sep 2023
- disclosed 22 Aug 2023
Introduced: 22 Aug 2023
CVE-2020-21047 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
elfutils-libelf
to version 0:0.176-2.amzn2.0.2 or higher.
This issue was patched in ALAS2-2023-2259
.
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.
The libcpu component which is used by libasm of elfutils version 0.177 (git 47780c9e), suffers from denial-of-service vulnerability caused by application crashes due to out-of-bounds write (CWE-787), off-by-one error (CWE-193) and reachable assertion (CWE-617); to exploit the vulnerability, the attackers need to craft certain ELF files which bypass the missing bound checks.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-21047
- https://sourceware.org/bugzilla/show_bug.cgi?id=25068
- https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=99dc63b10b3878616b85df2dfd2e4e7103e414b8
- https://lists.debian.org/debian-lts-announce/2023/09/msg00026.html
- https://sourceware.org/git/?p=elfutils.git%3Ba=commitdiff%3Bh=99dc63b10b3878616b85df2dfd2e4e7103e414b8