CVE-2022-42327
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-42327 (XSA-412) is a vulnerability affecting Xen hypervisor systems that was publicly released on November 1, 2022. The vulnerability specifically impacts Intel systems that support the 'virtualize APIC accesses' feature, where a guest can read and write the global shared xAPIC page by moving the local APIC out of xAPIC mode. This vulnerability affects only Xen version 4.16 running on Intel systems with 64-bit capable CPUs (Xen Advisory).

Technical details

The vulnerability occurs when a guest can manipulate the local APIC mode, allowing unauthorized access to a global shared xAPIC page. This access bypasses the expected isolation that should exist between two guests. The issue specifically affects x86 HVM or PVH guests running on Intel systems with the 'virtualize APIC accesses' feature, which is present in all 64-bit capable Intel CPUs. Systems running x86 HVM or PVH guests on AMD hardware, Arm, or x86 PV guests are not affected by this vulnerability (Xen Advisory).

Impact

The primary impact of this vulnerability is that guests can access an unintended shared memory page. While the contents of the page are not interpreted by Xen or hardware, this represents a significant breach of the isolation boundary between guest systems (Xen Advisory).

Exploitability

The vulnerability requires a guest to have the ability to manipulate APIC modes on affected systems. The issue was discovered by Andrew Cooper of Citrix, and while technical details of exploitation are available, there are no public reports of this vulnerability being exploited in the wild (Xen Advisory).

Mitigation and workarounds

There are two primary mitigation strategies available: 1) Only running PV guests will mitigate the vulnerability on affected hardware, and 2) Applying the appropriate patches provided by the Xen Project. The patches are available for both xen-unstable and Xen 4.16.x branches. Various Linux distributions have also released updates to address this vulnerability, including Fedora and Gentoo (Xen Advisory, Fedora Update, Gentoo Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

xen: 4.16.2-r1

Fixed

v3.18

xen: 4.16.2-r1

Fixed

v3.19

xen: 4.16.2-r1

Fixed

v3.20

xen: 4.16.2-r1

Fixed

v3.21

xen: 4.16.2-r1

Fixed

v3.22

xen: 4.16.2-r1

Fixed

v3.23

xen: 4.16.2-r1

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • gcc-toolset-15-binutils-devel
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management