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

Published Feb 15, 2024
·
Updated

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

26 affected components
FreeBSD FreeBSD=13.0-beta1
FreeBSD FreeBSD=13.0-beta2
FreeBSD FreeBSD=13.0-beta3
FreeBSD FreeBSD=13.0-beta3-p1
FreeBSD FreeBSD=13.0-beta4
FreeBSD FreeBSD=13.0-p1
FreeBSD FreeBSD=13.0-p10
FreeBSD FreeBSD=13.0-p11
FreeBSD FreeBSD=13.0-p2
FreeBSD FreeBSD=13.0-p3
FreeBSD FreeBSD=13.0-p4
FreeBSD FreeBSD=13.0-p5
FreeBSD FreeBSD=13.0-p6
FreeBSD FreeBSD=13.0-p7
FreeBSD FreeBSD=13.0-p8
FreeBSD FreeBSD=13.0-p9
FreeBSD FreeBSD=13.0-rc1
FreeBSD FreeBSD=13.0-rc2
FreeBSD FreeBSD=13.0-rc3
FreeBSD FreeBSD=13.0-rc4
FreeBSD FreeBSD=13.0-rc5
FreeBSD FreeBSD=13.0-rc5-p1
FreeBSD FreeBSD=13.1-b1-p1
FreeBSD FreeBSD=13.1-b2-p2
FreeBSD FreeBSD=13.1-rc1-p1
FreeBSD lib9p

Event History

Feb 15, 2024
CVE Published
via MITRE·05:13 AM
Data Sourced
via MITRE·05:13 AM
Description
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203