CVE-2020-25597 Denial of service in n/a

Medium 6.5 Published Updated

An unprivileged guest can crash the Xen hypervisor by exploiting event channel validity logic, causing a system-wide denial of service.

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-2020-25597?

CVE-2020-25597 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 23 Sep 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in Xen through 4.14.x. There is mishandling of the constraint that once-valid event channels may not turn invalid. Logic in the handling of event channel operations in Xen assumes that an event channel, once valid, will not become invalid over the life time of a guest. However, operations like the resetting of all event channels may involve decreasing one of the bounds checked when determining validity. This may lead to bug checks triggering, crashing the host. An unprivileged guest may be able to crash Xen, leading to a Denial of Service (DoS) for the entire system. All Xen versions from 4.4 onwards are vulnerable. Xen versions 4.3 and earlier are not vulnerable. Only systems with untrusted guests permitted to create more than the default number of event channels are vulnerable. This number depends on the architecture and type of guest. For 32-bit x86 PV guests, this is 1023; for 64-bit x86 PV guests, and for all ARM guests, this number is 4095. Systems where untrusted guests are limited to fewer than this number are not vulnerable. Note that xl and libxl limit max_event_channels to 1023 by default, so systems using exclusively xl, libvirt+libxl, or their own toolstack based on libxl, and not explicitly setting max_event_channels, are not vulnerable.

Weakness: CWE-755

Which versions are affected by CVE-2020-25597?

It affects 2 products.

Products include Fedoraproject Fedora, Xen Xen.

How do I fix CVE-2020-25597?

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-2020-25597 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2020-25597, DEBIAN-CVE-2020-25597, GHSA-jfr2-c4pw-p2hx, UBUNTU-CVE-2020-25597.

Is CVE-2020-25597 in your software?

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

Check your SBOMs for free