Out-of-bounds write in Google Android - CVE-2018-9516

 

Out-of-bounds write in Google Android - CVE-2018-9516

Published: November 20, 2018 / Updated: November 21, 2018


Vulnerability identifier: #VU15977
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2018-9516
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to out-of-bounds write in hid_debug_events_read of drivers/hid/hid-debug.c when a missing bounds check. A local attacker can trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Google Android
Amazon Linux AMI
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Real Time for NFV
Ubuntu
Opensuse

kernel (Red Hat package)
kernel-rt (Red Hat package)
linux-kvm (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-oem (Ubuntu package)
linux-aws (Ubuntu package)
linux-aws-hwe (Ubuntu package)
Red Hat Virtualization Host

How to mitigate CVE-2018-9516

Install update from vendor's website.

kernel (Red Hat package) - update to 3.10.0-1062.el7
kernel-rt (Red Hat package) - update to 3.10.0-1062.rt56.1022.el7
linux-kvm (Ubuntu package) - update to 4.15.0-1029.29
linux-hwe (Ubuntu package) - update to 4.15.0-45.48~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1027.28~16.04.1, 4.15.0-1027.28
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1037.39~14.04.2, 4.15.0-1037.39~16.04.1, 4.15.0-1037.39
linux (Ubuntu package) - update to 4.15.0-44.47
linux-raspi2 (Ubuntu package) - update to 4.15.0-1031.33
linux-oem (Ubuntu package) - update to 4.15.0-1033.38
linux-aws (Ubuntu package) - update to 4.15.0-1032.34
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1032.34~16.04.1

External References

Related Security Bulletins