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

 

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

Published: September 25, 2019


Vulnerability identifier: #VU21329
CSH Severity: Low
CVSS v4 BT: 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-5094
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in the quota file functionality. A local user can send a specially crafted xt4 partition, trigger out-of-bounds write on the heap and execute arbitrary code on the target system.

Note: An attacker can corrupt a partition to trigger this vulnerability.


Affected software

E2fsprogs
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Fedora
Ansible Automation Platform
e2fsprogs (Red Hat package)
e2fsprogs (Ubuntu package)
e2fsprogs (Alpine package)
e2fsprogs (Debian package)
e2fsprogs
IBM QRadar Network Security
Data Computing Appliance (DCA)
Red Hat OpenShift Container Platform

How to mitigate CVE-2019-5094

Install updates from vendor's website.

E2fsprogs - update to 1.45.4
Ansible Automation Platform - addressed in versions 1.0, 1.1, 1.2.4
e2fsprogs (Red Hat package) - addressed in versions 1.42.9-19.el7, 1.45.4-3.el8
e2fsprogs (Ubuntu package) - addressed in versions 1.42.13-1ubuntu1.1, 1.44.1-1ubuntu1.2, 1.44.6-1ubuntu0.1
e2fsprogs (Alpine package) - addressed in versions 1.43.7-r1, 1.44.2-r1
e2fsprogs (Debian package) - addressed in versions 1.43.4-2+deb9u1, 1.44.5-1+deb10u2
IBM QRadar Network Security - addressed in versions 5.4.0.13, 5.5.0.8
e2fsprogs - addressed in versions 1.44.6-2.fc30, 1.45.5-1.fc31
Data Computing Appliance (DCA) - update to 4.3.0.0
Red Hat OpenShift Container Platform - update to 4.3.40

External References

Related Security Bulletins