Vulnerability · Published Nov 1, 2022 · Assigned by XEN
CVE-2022-42320
High 7.0
In plain English
A high-severity security flaw in xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Xenstore: Guests can get access to Xenstore nodes of deleted domains Access rights of Xenstore nodes are per domid. When a domain is gone, there might be Xenstore nodes left with access rights containing the domid of the removed domain. This is normally no problem, as those access right entries will be corrected when such a node is written later. There is a small time window when a new domain is created, where the access rights of a past domain with the same domid as the new one will be regarded to be still valid, leading to the new domain being able to get access to a node which was meant to be accessible by the removed domain. For this to happen another domain needs to write the node before the newly created domain is being introduced to Xenstore by dom0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.17.0-r0 | ALPINE-CVE-2022-42320 |
| Alpine:v3.21 | xen | 4.17.0-r0 | ALPINE-CVE-2022-42320 |
| Alpine:v3.22 | xen | 4.17.0-r0 | ALPINE-CVE-2022-42320 |
| Alpine:v3.23 | xen | 4.17.0-r0 | ALPINE-CVE-2022-42320 |
| Alpine:v3.24 | xen | 4.17.0-r0 | ALPINE-CVE-2022-42320 |
| Debian:12 | xen | 4.16.2+90-g0d39a6d1ae-1 | DEBIAN-CVE-2022-42320 |
| Debian:13 | xen | 4.16.2+90-g0d39a6d1ae-1 | DEBIAN-CVE-2022-42320 |
| Debian:14 | xen | 4.16.2+90-g0d39a6d1ae-1 | DEBIAN-CVE-2022-42320 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-42320 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-42320 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2022-42320 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-42320 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2022-42320 |
Affected products (as reported)
References
- https://xenbits.xenproject.org/xsa/advisory-417.txt
- http://xenbits.xen.org/xsa/advisory-417.html
- [oss-security] 20221101 Xen Security Advisory 417 v2 (CVE-2022-42320) - Xenstore: Guests can get access to Xenstore nodes of deleted domains mailing-list
- DSA-5272 vendor-advisory
- FEDORA-2022-07438e12df vendor-advisory
- FEDORA-2022-99af00f60e vendor-advisory
- FEDORA-2022-9f51d13fa3 vendor-advisory
- GLSA-202402-07 vendor-advisory