Description
grub2-bhyve, as used in FreeBSD bhyve before revision 525916 2020-02-12, does not validate the address provided as part of a memrw command (read_* or write_*) by a guest through a grub2.cfg file. This allows an untrusted guest to perform arbitrary read or write operations in the context of the grub-bhyve process, resulting in code execution as root on the host OS.
References (1)
Core 1
Core References
Vendor Advisory x_refsource_misc
https://svnweb.freebsd.org/ports?view=revision&revision=525916
Scores
CVSS v3
7.8
EPSS
0.0014
EPSS Percentile
33.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-119
Status
published
Products (1)
freebsd/freebsd
< 525916_2020-02-12
Published
Mar 14, 2020
Tracked Since
Feb 18, 2026