Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2023-3494

Summary
Assigner-freebsd
Assigner Org ID-63664ac6-956c-4cba-a5d0-f46076e16109
Published At-01 Aug, 2023 | 22:13
Updated At-13 Feb, 2025 | 16:55
Rejected At-
Credits

bhyve privileged guest escape via fwctl

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:freebsd
Assigner Org ID:63664ac6-956c-4cba-a5d0-f46076e16109
Published At:01 Aug, 2023 | 22:13
Updated At:13 Feb, 2025 | 16:55
Rejected At:
▼CVE Numbering Authority (CNA)
bhyve privileged guest escape via fwctl

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 Products
Vendor
FreeBSD FoundationFreeBSD
Product
FreeBSD
Modules
  • bhyve
Default Status
unaffected
Versions
Affected
  • From 13.2-RELEASE before 13.2-RELEASE-p2 (release)
  • From 13.1-RELEASE before 13.1-RELEASE-p9 (release)
Problem Types
TypeCWE IDDescription
CWECWE-120CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Type: CWE
CWE ID: CWE-120
Description: CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
CAPEC-100CAPEC-100 Overflow Buffers
CAPEC ID: CAPEC-100
Description: CAPEC-100 Overflow Buffers
Solutions

Configurations

Only bhyve guests that are executed with the "-l bootrom" option are affected.

Workarounds

Exploits

Credits

finder
Omri Ben Bassat and Vladimir Eli Tokarev from Microsoft
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
vendor-advisory
https://security.netapp.com/advisory/ntap-20230831-0006/
N/A
Hyperlink: https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
Resource:
vendor-advisory
Hyperlink: https://security.netapp.com/advisory/ntap-20230831-0006/
Resource: N/A
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
vendor-advisory
x_transferred
https://security.netapp.com/advisory/ntap-20230831-0006/
x_transferred
Hyperlink: https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
Resource:
vendor-advisory
x_transferred
Hyperlink: https://security.netapp.com/advisory/ntap-20230831-0006/
Resource:
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:secteam@freebsd.org
Published At:01 Aug, 2023 | 23:15
Updated At:13 Feb, 2025 | 17:16

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.18.8HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Type: Primary
Version: 3.1
Base score: 8.8
Base severity: HIGH
Vector:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CPE Matches

FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:-:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:b1-p1:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:b2-p2:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p1:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p2:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p3:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p4:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p5:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p6:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p7:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:p8:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.1
cpe:2.3:o:freebsd:freebsd:13.1:rc1-p1:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.2
cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:*
FreeBSD Foundation
freebsd
>>freebsd>>13.2
cpe:2.3:o:freebsd:freebsd:13.2:p1:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-120Secondarysecteam@freebsd.org
CWE-120Primarynvd@nist.gov
CWE ID: CWE-120
Type: Secondary
Source: secteam@freebsd.org
CWE ID: CWE-120
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.ascsecteam@freebsd.org
Vendor Advisory
https://security.netapp.com/advisory/ntap-20230831-0006/secteam@freebsd.org
N/A
https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.ascaf854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
https://security.netapp.com/advisory/ntap-20230831-0006/af854a3a-2127-422b-91ae-364da2661108
N/A
Hyperlink: https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
Source: secteam@freebsd.org
Resource:
Vendor Advisory
Hyperlink: https://security.netapp.com/advisory/ntap-20230831-0006/
Source: secteam@freebsd.org
Resource: N/A
Hyperlink: https://security.FreeBSD.org/advisories/FreeBSD-SA-23:07.bhyve.asc
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Vendor Advisory
Hyperlink: https://security.netapp.com/advisory/ntap-20230831-0006/
Source: af854a3a-2127-422b-91ae-364da2661108
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found