Vulnerability · Published Mar 21, 2023 · Assigned by XEN
CVE-2022-42333
High 8.6
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 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
x86/HVM pinned cache attributes mis-handling T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] To allow cachability control for HVM guests with passed through devices, an interface exists to explicitly override defaults which would otherwise be put in place. While not exposed to the affected guests themselves, the interface specifically exists for domains controlling such guests. This interface may therefore be used by not fully privileged entities, e.g. qemu running deprivileged in Dom0 or qemu running in a so called stub-domain. With this exposure it is an issue that - the number of the such controlled regions was unbounded (CVE-2022-42333), - installation and removal of such regions was not properly serialized (CVE-2022-42334).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.17.0-r5 | ALPINE-CVE-2022-42333 |
| Alpine:v3.21 | xen | 4.17.0-r5 | ALPINE-CVE-2022-42333 |
| Alpine:v3.22 | xen | 4.17.0-r5 | ALPINE-CVE-2022-42333 |
| Alpine:v3.23 | xen | 4.17.0-r5 | ALPINE-CVE-2022-42333 |
| Alpine:v3.24 | xen | 4.17.0-r5 | ALPINE-CVE-2022-42333 |
| Debian:12 | xen | 4.17.0+74-g3eac216e6e-1 | DEBIAN-CVE-2022-42333 |
| Debian:13 | xen | 4.17.0+74-g3eac216e6e-1 | DEBIAN-CVE-2022-42333 |
| Debian:14 | xen | 4.17.0+74-g3eac216e6e-1 | DEBIAN-CVE-2022-42333 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-42333 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-42333 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2022-42333 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-42333 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2022-42333 |
Affected products (as reported)
References
- https://xenbits.xenproject.org/xsa/advisory-428.txt
- http://xenbits.xen.org/xsa/advisory-428.html
- [oss-security] 20230321 Xen Security Advisory 428 v3 (CVE-2022-42333,CVE-2022-42334) - x86/HVM pinned cache attributes mis-handling mailing-list
- FEDORA-2023-703f133eb3 vendor-advisory
- FEDORA-2023-da8315e641 vendor-advisory
- DSA-5378 vendor-advisory
- https://security.gentoo.org/glsa/202402-07