Out-of-bounds write in e2fsprogs (Alpine package)



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-5188
CWE-ID CWE-787
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
e2fsprogs (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Out-of-bounds write

EUVDB-ID: #VU24078

Risk: Low

CVSSv4.0: 7.1 [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 - Out-of-bounds write

Exploit availability: No

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

e2fsprogs (Alpine package): 1.43-r0 - 1.44.2-r1

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=642db3215265db1cbf49b25d942ef9d11d3c410f
https://git.alpinelinux.org/aports/commit/?id=2ed804fc262d008a2558bd3ca7287479e85929ba
https://git.alpinelinux.org/aports/commit/?id=18b5cab25223debddf802a6309b15db6947dba96
https://git.alpinelinux.org/aports/commit/?id=948fd324de9029f91e5a736dd623b8f1390256e5
https://git.alpinelinux.org/aports/commit/?id=961349519affeaa193ce9d638736f4482ff4576a
https://git.alpinelinux.org/aports/commit/?id=00430c951fbd0bdf2423cd019cb974e2eb19361d


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###