CVE-2021-29631 Memory corruption in FreeBSD

High 7.8 Published Updated

A malicious guest can trigger memory corruption in the bhyve hypervisor, potentially leading to arbitrary code execution or 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
None listed

What is CVE-2021-29631?

CVE-2021-29631 is a high-severity memory corruption vulnerability in Freebsd Freebsd, published on 30 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In FreeBSD 13.0-STABLE before n246941-20f96f215562, 12.2-STABLE before r370400, 11.4-STABLE before r370399, 13.0-RELEASE before p4, 12.2-RELEASE before p10, and 11.4-RELEASE before p13, certain VirtIO-based device models in bhyve failed to handle errors when fetching I/O descriptors. A malicious guest may cause the device model to operate on uninitialized I/O vectors leading to memory corruption, crashing of the bhyve process, and possibly arbitrary code execution in the bhyve process.

Weakness: CWE-908

Which versions are affected by CVE-2021-29631?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2021-29631?

No fix has been published for CVE-2021-29631 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-29631 being exploited?

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

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-7hc7-vjj6-4p36.

Is CVE-2021-29631 in your software?

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

Check your SBOMs for free