CVE-2022-42317 Denial of service in xen
Malicious guests can exhaust xenstored memory via various request patterns, causing a Denial of Service in the Xen hypervisor.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-42317?
CVE-2022-42317 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 1 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Xenstore: guests can let run xenstored out of memory T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Malicious guests can cause xenstored to allocate vast amounts of memory, eventually resulting in a Denial of Service (DoS) of xenstored. There are multiple ways how guests can cause large memory allocations in xenstored: - - by issuing new requests to xenstored without reading the responses, causing the responses to be buffered in memory - - by causing large number of watch events to be generated via setting up multiple xenstore watches and then e.g. deleting many xenstore nodes below the watched path - - by creating as many nodes as allowed with the maximum allowed size and path length in as many transactions as possible - - by accessing many nodes inside a transaction
Weakness: CWE-770
Which versions are affected by CVE-2022-42317?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Xen Xen.
How do I fix CVE-2022-42317?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-42317 being exploited?
There is no known exploitation of CVE-2022-42317 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-42317, DEBIAN-CVE-2022-42317, GHSA-87qx-qrr6-fwpw, UBUNTU-CVE-2022-42317.