Skip to content
OpenAdvisories
Medium · 6.3 CVE-2024-25940 EUVD-2024-23242GHSA-j347-m6ww-35jg

bhyveload(8) host file access

Published Feb 15, 2024 · Updated Feb 13, 2025 · Assigned by freebsd

Description

`bhyveload -h <host-path>` may be used to grant loader access to the <host-path> directory tree on the host. Affected versions of bhyveload(8) do not make any attempt to restrict loader's access to <host-path>, allowing the loader to read any file the host user has access to. In the bhyveload(8) model, the host supplies a userboot.so to boot with, but the loader scripts generally come from the guest image. A maliciously crafted script could be used to exfiltrate sensitive data from the host accessible to the user running bhyhveload(8), which is often the system root.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 14.0-RELEASE – < p5, 13.2-RELEASE – < p10 p5

Advisories 1

References