8.8
CWE
787
Advisory Published
Updated

CVE-2022-23087: Bhyve e82545 device emulation out-of-bounds write

First published: Thu Feb 15 2024(Updated: )

The e1000 network adapters permit a variety of modifications to an Ethernet packet when it is being transmitted. These include the insertion of IP and TCP checksums, insertion of an Ethernet VLAN header, and TCP segmentation offload ("TSO"). The e1000 device model uses an on-stack buffer to generate the modified packet header when simulating these modifications on transmitted packets. When checksum offload is requested for a transmitted packet, the e1000 device model used a guest-provided value to specify the checksum offset in the on-stack buffer. The offset was not validated for certain packet types. A misbehaving bhyve guest could overwrite memory in the bhyve process on the host, possibly leading to code execution in the host context. The bhyve process runs in a Capsicum sandbox, which (depending on the FreeBSD version and bhyve configuration) limits the impact of exploiting this issue.

Credit: secteam@freebsd.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel>=12.0<12.3
FreeBSD Kernel=12.3
FreeBSD Kernel=12.3-p1
FreeBSD Kernel=12.3-p2
FreeBSD Kernel=12.3-p3
FreeBSD Kernel=12.3-p4
FreeBSD Kernel=13.0
FreeBSD Kernel=13.0-beta1
FreeBSD Kernel=13.0-beta2
FreeBSD Kernel=13.0-beta3
FreeBSD Kernel=13.0-beta3-p1
FreeBSD Kernel=13.0-beta4
FreeBSD Kernel=13.0-p1
FreeBSD Kernel=13.0-p10
FreeBSD Kernel=13.0-p2
FreeBSD Kernel=13.0-p3
FreeBSD Kernel=13.0-p4
FreeBSD Kernel=13.0-p5
FreeBSD Kernel=13.0-p6
FreeBSD Kernel=13.0-p7
FreeBSD Kernel=13.0-p8
FreeBSD Kernel=13.0-p9
FreeBSD Kernel=13.0-rc1
FreeBSD Kernel=13.0-rc2
FreeBSD Kernel=13.0-rc3
FreeBSD Kernel=13.0-rc4
FreeBSD Kernel=13.0-rc5
FreeBSD Kernel=13.0-rc5-p1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-23087?

    CVE-2022-23087 is classified with high severity due to potential vulnerabilities in the e1000 network adapters.

  • How do I fix CVE-2022-23087?

    To mitigate CVE-2022-23087, you should update to the latest version of FreeBSD that addresses the vulnerability.

  • What versions of FreeBSD are affected by CVE-2022-23087?

    CVE-2022-23087 affects FreeBSD versions 12.0 to 12.3 and various 13.0 releases, including beta versions.

  • What impact does CVE-2022-23087 have on network security?

    CVE-2022-23087 can allow unauthorized modifications to Ethernet packets, potentially compromising network security.

  • Is there a known exploit for CVE-2022-23087?

    As of now, there is no public knowledge of active exploits for CVE-2022-23087, but the vulnerability itself poses a significant risk.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203