Out-of-bounds write in E2fsprogs - CVE-2019-5188

 

Out-of-bounds write in E2fsprogs - CVE-2019-5188

Published: January 8, 2020


Vulnerability identifier: #VU24078
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2019-5188
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: e2fsprogs.sourceforge.net
Affected software:
E2fsprogs

Detailed vulnerability description

The vulnerability allows a local user to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in the directory rehashing functionality in "rehash.c" within the "mutate_name()" function. A local user can use a specially crafted ext4 directory, trigger out-of-bounds write on the stack and execute arbitrary code on the target system.


How to mitigate CVE-2019-5188

Install updates from vendor's website.

Sources