Incorrect permission assignment for critical resource in Xen - CVE-2020-29479

 

Incorrect permission assignment for critical resource in Xen - CVE-2020-29479

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


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

Vulnerability details

The vulnerability allows a local authenticated user to execute arbitrary code.

An issue was discovered in Xen through 4.14.x. In the Ocaml xenstored implementation, the internal representation of the tree has special cases for the root node, because this node has no parent. Unfortunately, permissions were not checked for certain operations on the root node. Unprivileged guests can get and modify permissions, list, and delete the root node. (Deleting the whole xenstore tree is a host-wide denial of service.) Achieving xenstore write access is also possible. All systems using oxenstored are vulnerable. Building and using oxenstored is the default in the upstream Xen distribution, if the Ocaml compiler is available. Systems using C xenstored are not vulnerable.


Affected software

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

How to mitigate CVE-2020-29479

Install update from vendor's website.

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