Bhyve e82545 device emulation out-of-bounds write
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| FreeBSD | FreeBSD | 13.1-RC1 to before p1; 13.0-RELEASE to before p11; 12.3-RELEASE to before p5 | p1, p11, p5 | Patch available | CNA |
- FreeBSD VendorFreeBSD Affected 13.1-RC1 to before p1; 13.0-RELEASE to before p11; 12.3-RELEASE to before p5 Fixed in p1, p11, p5 Patch available CNA
CPE configurations NVD · 28
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* | 12.0 to before 12.3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.3:-:*:*:*:*:*:* | 12.3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.3:p1:*:*:*:*:*:* | 12.3 p1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.3:p2:*:*:*:*:*:* | 12.3 p2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.3:p3:*:*:*:*:*:* | 12.3 p3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.3:p4:*:*:*:*:*:* | 12.3 p4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:-:*:*:*:*:*:* | 13.0 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:beta1:*:*:*:*:*:* | 13.0 beta1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:beta2:*:*:*:*:*:* | 13.0 beta2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:beta3:*:*:*:*:*:* | 13.0 beta3 | Vulnerable | FreeBSD |
- cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* Versions 12.0 to before 12.3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.3:-:*:*:*:*:*:* Versions 12.3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.3:p1:*:*:*:*:*:* Versions 12.3 p1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.3:p2:*:*:*:*:*:* Versions 12.3 p2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.3:p3:*:*:*:*:*:* Versions 12.3 p3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.3:p4:*:*:*:*:*:* Versions 12.3 p4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:-:*:*:*:*:*:* Versions 13.0 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:beta1:*:*:*:*:*:* Versions 13.0 beta1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:beta2:*:*:*:*:*:* Versions 13.0 beta2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:beta3:*:*:*:*:*:* Versions 13.0 beta3 Vulnerable ·FreeBSD
Show 18 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:freebsd:freebsd:13.0:beta3-p1:*:*:*:*:*:* | 13.0 beta3-p1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:beta4:*:*:*:*:*:* | 13.0 beta4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p1:*:*:*:*:*:* | 13.0 p1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p10:*:*:*:*:*:* | 13.0 p10 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p2:*:*:*:*:*:* | 13.0 p2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p3:*:*:*:*:*:* | 13.0 p3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p4:*:*:*:*:*:* | 13.0 p4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p5:*:*:*:*:*:* | 13.0 p5 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p6:*:*:*:*:*:* | 13.0 p6 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p7:*:*:*:*:*:* | 13.0 p7 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p8:*:*:*:*:*:* | 13.0 p8 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:p9:*:*:*:*:*:* | 13.0 p9 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:rc1:*:*:*:*:*:* | 13.0 rc1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:rc2:*:*:*:*:*:* | 13.0 rc2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:rc3:*:*:*:*:*:* | 13.0 rc3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:rc4:*:*:*:*:*:* | 13.0 rc4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:rc5:*:*:*:*:*:* | 13.0 rc5 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:13.0:rc5-p1:*:*:*:*:*:* | 13.0 rc5-p1 | Vulnerable | FreeBSD |
- cpe:2.3:o:freebsd:freebsd:13.0:beta3-p1:*:*:*:*:*:* Versions 13.0 beta3-p1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:beta4:*:*:*:*:*:* Versions 13.0 beta4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p1:*:*:*:*:*:* Versions 13.0 p1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p10:*:*:*:*:*:* Versions 13.0 p10 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p2:*:*:*:*:*:* Versions 13.0 p2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p3:*:*:*:*:*:* Versions 13.0 p3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p4:*:*:*:*:*:* Versions 13.0 p4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p5:*:*:*:*:*:* Versions 13.0 p5 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p6:*:*:*:*:*:* Versions 13.0 p6 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p7:*:*:*:*:*:* Versions 13.0 p7 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p8:*:*:*:*:*:* Versions 13.0 p8 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:p9:*:*:*:*:*:* Versions 13.0 p9 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:rc1:*:*:*:*:*:* Versions 13.0 rc1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:rc2:*:*:*:*:*:* Versions 13.0 rc2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:rc3:*:*:*:*:*:* Versions 13.0 rc3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:rc4:*:*:*:*:*:* Versions 13.0 rc4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:rc5:*:*:*:*:*:* Versions 13.0 rc5 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:13.0:rc5-p1:*:*:*:*:*:* Versions 13.0 rc5-p1 Vulnerable ·FreeBSD
Remediation
- Fix · CNA FreeBSD (FreeBSD) Fixed in p1, p11, p5
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
FreeBSD p1, p11, p5
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2022-07257 802.11 heap buffer overflowPriority MEDIUM 55
- TI-2022-07255 mpr/mps/mpt driver ioctl heap out-of-bounds writePriority MEDIUM 49
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23087
- 2026-10-03 Alias added: GHSA-rmqc-8468-5wx2
References
More Freebsd vulnerabilities
- TI-2011-04182 Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT… CVSS 2.0HIGH 10.0
- TI-2007-03684 Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows… CVSS 3.1CRITICAL 9.8
- TI-2002-00376 Integer overflow in xdr_array function in RPC servers for operating systems that use… CVSS 3.1CRITICAL 9.8
- TI-2024-05929 Openssh: regresshion - race condition in ssh allows rce/dos CVSS 3.1HIGH 8.1
- TI-2003-00437 Off-by-one error in the fb_realpath() function, as derived from the realpath function in… CVSS 3.1CRITICAL 9.8
- TI-2003-00642 The prescan function in Sendmail 8.12.9 allows remote attackers to execute arbitrary code… CVSS 2.0HIGH 10.0
Sources
- CVE-2022-23087 · CVE Program
- CVE-2022-23087 · NVD
- FIRST EPSS
- GHSA-rmqc-8468-5wx2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences