Out-of-bounds Write Affecting e2fsprogs-libs package, versions <0:1.43.5-2.44.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (31st 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-AMZN201803-E2FSPROGSLIBS-1725029
  • published27 Sept 2021
  • disclosed8 Jan 2020

Introduced: 8 Jan 2020

CVE-2019-5188  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 e2fsprogs-libs to version 0:1.43.5-2.44.amzn1 or higher.
This issue was patched in ALAS-2021-1458.

NVD Description

Note: Versions mentioned in the description apply only to the upstream e2fsprogs-libs package and not the e2fsprogs-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

A code execution vulnerability exists in the directory rehashing functionality of E2fsprogs e2fsck 1.45.4. A specially crafted ext4 directory can cause an out-of-bounds write on the stack, resulting in code execution. An attacker can corrupt a partition to trigger this vulnerability.

CVSS Scores

version 3.1