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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.07% (33rd 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-2635975
  • published13 Apr 2022
  • disclosed24 Mar 2022
  • creditBorja Tarraso

Introduced: 24 Mar 2022

CVE-2022-1304  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for tytso/e2fsprogs.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write via e2fsck, during the processing of a crafted filesystem image, which can lead to a segmentation fault and possibly arbitrary code execution. The issue occurs in the ext2fs_extent_delete() function in lib/ext2fs/extent.c when path->left is equal to -1, resulting in a call to memmove() with invalid arguments.

CVSS Scores

version 3.1