CVE-2022-42325
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-42325 is a vulnerability in Xen's Xenstore component that affects systems running Xen version 4.9 and newer. The vulnerability was discovered by Julien Grall of Amazon and publicly disclosed on November 1, 2022. It specifically affects systems running the C variant of Xenstore (xenstored or xenstore-stubdom), while systems using the Ocaml variant (oxenstored) are not vulnerable (Xen Advisory).

Technical details

The vulnerability occurs when a node is created in a transaction and later deleted within the same transaction. When this happens, the transaction terminates with an error, but only after partially executing and failing to update the accounting information. This implementation flaw enables a malicious guest to create an arbitrary number of nodes (Xen Advisory). The vulnerability has been assigned a CVSS score of 5.5, with attack vector being Local, attack complexity Low, privileges required Low, and scope Unchanged (Oracle Bulletin).

Impact

When exploited, this vulnerability allows a malicious guest to cause memory shortage in xenstored, resulting in a Denial of Service (DoS) condition. The impact of such an attack would prevent the creation of new guests and block configuration changes for already running guests (Xen Advisory).

Mitigation and workarounds

As a mitigation measure, systems can switch to running oxenstored instead of xenstored to avoid the vulnerability. For permanent resolution, administrators should apply the appropriate patches provided in the security advisory. The fix is available through patches xsa421/xsa421-??.patch for Xen-unstable and 4.16.x versions, and xsa421/xsa421-4.15-??.patch for versions 4.15.x - 4.13.x (Xen Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

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