CVE-2022-23092
JSON

8.8high

Missing bounds check in 9p message handling

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.00% (higher than 62% of CVEs)
Published
Last changed
Assigned by
freebsd

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.

Affected

Product or packageVersionsReported by
FreeBSD FreeBSDfrom 13.1-RELEASE before p1, from 13.0-RELEASE before p12, from 13.1-release before p1, from 13.0-release before p12, 13.0, 13.1CVE List, NVD

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

A la implementación del manejo de mensajes RWALK por parte de lib9p le faltaba una verificación de los límites necesaria al descomprimir el contenido del mensaje. La verificación faltante significa que la recepción de un mensaje especialmente manipulado hará que lib9p sobrescriba la memoria no relacionada. El error puede ser provocado por un kernel invitado de bhyve malicioso que sobrescribe la memoria en el proceso bhyve(8). Esto podría conducir potencialmente a la ejecución de código en modo de usuario en el host, sujeto al entorno limitado de Capsicum de bhyve.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-23092 changed 2025-02-13CVE Terms of Use
NVDCVE-2022-23092 changed 2026-06-17Public domain