CVE-2022-23087

Bhyve e82545 device emulation out-of-bounds write

Description

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.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.09%
Vendor Advisory freebsd.org
Affected: FreeBSD FreeBSD
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-23087?
CVE-2022-23087 has been scored as a high severity vulnerability.
How to fix CVE-2022-23087?
To fix CVE-2022-23087, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-23087 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23087 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-23087?
CVE-2022-23087 affects FreeBSD FreeBSD.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.