CVE-2022-23092: Missing bounds check in 9p message handling
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-23092?
CVE-2022-23092 is considered a critical vulnerability due to its potential to allow memory corruption and arbitrary code execution.
How do I fix CVE-2022-23092?
To mitigate CVE-2022-23092, users should upgrade to the patched versions of FreeBSD mentioned in the security advisory.
What types of systems are affected by CVE-2022-23092?
CVE-2022-23092 affects FreeBSD systems running lib9p, specifically versions 13.0-beta1, 13.0-beta2, and several other beta and production versions.
What is the cause of CVE-2022-23092?
CVE-2022-23092 is caused by a lack of bounds checking when handling RWALK messages in lib9p.
Can CVE-2022-23092 be exploited remotely?
Yes, CVE-2022-23092 can be exploited remotely through specially crafted RWALK messages, leading to potential memory corruption.