CVE-2022-23092 Missing bounds check in 9p message handling

High 8.8 Published Updated

A missing bounds check in lib9p allows a malicious guest kernel to overwrite host memory, potentially leading to code execution within the bhyve process.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-23092?

CVE-2022-23092 is a high-severity memory corruption vulnerability in Freebsd Freebsd, published on 15 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The implementation of lib9p's handling of RWALK messages was missing a bounds check needed when unpacking the message contents. The missing check means that the receipt of a specially crafted message will cause lib9p to overwrite unrelated memory.

The bug can be triggered by a malicious bhyve guest kernel to overwrite memory in the bhyve(8) process. This could potentially lead to user-mode code execution on the host, subject to bhyve's Capsicum sandbox.

Weakness: CWE-787

Which versions are affected by CVE-2022-23092?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2022-23092?

No fix has been published for CVE-2022-23092 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-2022-23092 being exploited?

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

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-gvf3-496w-8fm9.

Is CVE-2022-23092 in your software?

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

Check your SBOMs for free