Double Free Affecting elfutils-libelf package, versions <0:0.176-2.amzn2


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.82% (83rd 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-ELFUTILSLIBELF-1675404
  • published27 Sept 2021
  • disclosed3 Sept 2018

Introduced: 3 Sep 2018

CVE-2018-16402  (opens in a new tab)
CWE-415  (opens in a new tab)

How 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.

libelf/elf_end.c in elfutils 0.173 allows remote attackers to cause a denial of service (double free and application crash) or possibly have unspecified other impact because it tries to decompress twice.

CVSS Base Scores

version 3.1