CVE-2022-42320 Missing authorization in xen

High 7.0 Published Updated

A race condition in Xen allows a new guest domain to access Xenstore nodes belonging to a previously deleted domain with the same ID.

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

CVE-2022-42320 is a high-severity missing authorization 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 get access to Xenstore nodes of deleted domains Access rights of Xenstore nodes are per domid. When a domain is gone, there might be Xenstore nodes left with access rights containing the domid of the removed domain. This is normally no problem, as those access right entries will be corrected when such a node is written later. There is a small time window when a new domain is created, where the access rights of a past domain with the same domid as the new one will be regarded to be still valid, leading to the new domain being able to get access to a node which was meant to be accessible by the removed domain. For this to happen another domain needs to write the node before the newly created domain is being introduced to Xenstore by dom0.

Weakness: CWE-459

Which versions are affected by CVE-2022-42320?

It affects 3 products.

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

How do I fix CVE-2022-42320?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-42320 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-42320, DEBIAN-CVE-2022-42320, GHSA-p263-3p34-m82m, UBUNTU-CVE-2022-42320.

Is CVE-2022-42320 in your software?

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

Check your SBOMs for free