Out-of-bounds Write Affecting elfutils-devel-static package, versions <0:0.176-2.amzn2.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (21st 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 IDSNYK-AMZN2-ELFUTILSDEVELSTATIC-5912536
  • published21 Sept 2023
  • disclosed22 Aug 2023

Introduced: 22 Aug 2023

CVE-2020-21047  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 elfutils-devel-static 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-devel-static package and not the elfutils-devel-static 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.

CVSS Scores

version 3.1