CVE-2022-42313 Denial of service in xen

Medium 6.5 Published Updated

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-42313?

CVE-2022-42313 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-42313?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Xen Xen.

How do I fix CVE-2022-42313?

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-42313 being exploited?

There is no known exploitation of CVE-2022-42313 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-42313, DEBIAN-CVE-2022-42313, GHSA-6cmm-6365-v57f, UBUNTU-CVE-2022-42313.

Is CVE-2022-42313 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free