Out-of-bounds Write Affecting tytso/e2fsprogs package, versions [0,1.45.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th 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-UNMANAGED-TYTSOE2FSPROGS-2372025
  • published26 Jan 2022
  • disclosed8 Jan 2020
  • creditUnknown

Introduced: 8 Jan 2020

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

How to fix?

Upgrade tytso/e2fsprogs to version 1.45.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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