Integer overflow in Xen - CVE-2018-15471

 

Integer overflow in Xen - CVE-2018-15471

Published: August 21, 2018


Vulnerability identifier: #VU14475
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-15471
CWE-ID: CWE-190
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an adjacent attacker to gain elevated privileges on the target system.

The vulnerability exists in xenvif_set_hash_mapping in drivers/net/xen-netback/hash.c due to integer overflow when handling malicious input. An adjacent attacker can supply a malicious or buggy frontend request to set or change mapping of requests to request queues, cause the (usually privileged) backend to make out of bounds memory accesses and gain access to arbitrary data, cause the service to crash or gain elevated privileges.


Affected software

Xen
Debian Linux
Linux kernel
Ubuntu
Fedora
xen (Alpine package)
linux (Debian package)
linux-4.9 (Debian package)
linux (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
kernel-headers
kernel

How to mitigate CVE-2018-15471

Install update from vendor's website.

Linux kernel - update to 4.18.14
xen (Alpine package) - update to 4.10.1-r3
linux (Debian package) - update to 4.9.110-3+deb9u6
linux-4.9 (Debian package) - update to 4.9.144-3.1~deb8u1
linux (Ubuntu package) - update to 4.18.0-11.12
linux-gcp (Ubuntu package) - update to 4.18.0-1003.4
linux-aws (Ubuntu package) - update to 4.18.0-1004.5
linux-kvm (Ubuntu package) - update to 4.18.0-1004.4
kernel-headers - addressed in versions 4.17.17-1.fc27, 4.17.17-1.fc28
kernel - addressed in versions 4.17.17-100.fc27, 4.17.17-200.fc28

External References

Related Security Bulletins