Lucene search

K
cvelistFreebsdCVELIST:CVE-2022-23087
HistoryFeb 15, 2024 - 5:01 a.m.

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

2024-02-1505:01:00
freebsd
www.cve.org
1
bhyve
device emulation
out-of-bounds write
e1000
checksum offload
memory overwrite
code execution
host context
capsicum sandbox
freebsd
bhyve configuration

7.4 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.0%

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.

CNA Affected

[
  {
    "defaultStatus": "unknown",
    "modules": [
      "bhyve"
    ],
    "product": "FreeBSD",
    "vendor": "FreeBSD",
    "versions": [
      {
        "lessThan": "p1",
        "status": "affected",
        "version": "13.1-RC1",
        "versionType": "release"
      },
      {
        "lessThan": "p11",
        "status": "affected",
        "version": "13.0-RELEASE",
        "versionType": "release"
      },
      {
        "lessThan": "p5",
        "status": "affected",
        "version": "12.3-RELEASE",
        "versionType": "release"
      }
    ]
  }
]

7.4 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.0%

Related for CVELIST:CVE-2022-23087