Lucene search

K
cve[email protected]CVE-2023-3494
HistoryAug 01, 2023 - 11:15 p.m.

CVE-2023-3494

2023-08-0123:15:31
CWE-120
web.nvd.nist.gov
31
cve-2023-3494
buffer overflow
fwctl driver
code execution
bhyve
nvd
vulnerability
security

8.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

8.9 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%

The fwctl driver implements a state machine which is executed when a bhyve guest accesses certain x86 I/O ports. The interface lets the guest copy a string into a buffer resident in the bhyve process’ memory. A bug in the state machine implementation can result in a buffer overflowing when copying this string. Malicious, privileged software running in a guest VM can exploit the buffer overflow to achieve code execution on the host in the bhyve userspace process, which typically runs as root, mitigated by the capabilities assigned through the Capsicum sandbox available to the bhyve process.

Affected configurations

NVD
Node
freebsdfreebsdMatch13.1-
OR
freebsdfreebsdMatch13.1b1-p1
OR
freebsdfreebsdMatch13.1b2-p2
OR
freebsdfreebsdMatch13.1p1
OR
freebsdfreebsdMatch13.1p2
OR
freebsdfreebsdMatch13.1p3
OR
freebsdfreebsdMatch13.1p4
OR
freebsdfreebsdMatch13.1p5
OR
freebsdfreebsdMatch13.1p6
OR
freebsdfreebsdMatch13.1p7
OR
freebsdfreebsdMatch13.1p8
OR
freebsdfreebsdMatch13.1rc1-p1
OR
freebsdfreebsdMatch13.2-
OR
freebsdfreebsdMatch13.2p1

CNA Affected

[
  {
    "defaultStatus": "unaffected",
    "modules": [
      "bhyve"
    ],
    "product": "FreeBSD",
    "vendor": "FreeBSD",
    "versions": [
      {
        "lessThan": "13.2-RELEASE-p2",
        "status": "affected",
        "version": "13.2-RELEASE",
        "versionType": "release"
      },
      {
        "lessThan": "13.1-RELEASE-p9",
        "status": "affected",
        "version": "13.1-RELEASE",
        "versionType": "release"
      }
    ]
  }
]

8.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

8.9 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%