NULL pointer dereference in Xen - CVE-2020-29484

 

NULL pointer dereference in Xen - CVE-2020-29484

Published: December 15, 2020 / Updated: December 23, 2020


Vulnerability identifier: #VU49134
CSH Severity: Medium
CVSS v4: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H]
CVE-ID: CVE-2020-29484
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error. A remote attacker can trigger denial of service conditions via Xenstore messages, consisting of a message header and the payload. The payload length is limited to 4096 bytes. Any request to xenstored resulting in a response with a payload longer than 4096 bytes will result in an error. When registering a watch, the payload length limit applies to the combined length of the watched path and the specified tag. Because watches for a specific path are also triggered for all nodes below that path, the payload of a watch event message can be longer than the payload needed to register the watch. A malicious guest that registers a watch using a very large tag (i.e., with a registration operation payload length close to the 4096 byte limit) can cause the generation of watch events with a payload length larger than 4096 bytes, by writing to Xenstore entries below the watched path. This will result in an error condition in xenstored. This error can result in a NULL pointer dereference, leading to a crash of xenstored. A malicious guest administrator can cause xenstored to crash, leading to a denial of service. Following a xenstored crash, domains may continue to run, but management operations will be impossible. Only C xenstored is affected, oxenstored is not affected.


Affected software

Xen
Debian Linux
Fedora
xen (Alpine package)
xen (Debian package)
xen
IBM Systems Director

How to mitigate CVE-2020-29484

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

xen (Alpine package) - update to 4.14.1-r0
xen (Debian package) - update to 4.11.4+57-g41a822c392-2
xen - addressed in versions 4.13.2-5.fc32, 4.14.0-14.fc33

External References

Related Security Bulletins