CVE-2024-25940

published 15 Feb 2024 · updated 13 Feb 2025

bhyveload(8) host file access

6.3MediumCVSS 6.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in p10 and p5.

`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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=13.2-RELEASE <p10, >=14.0-RELEASE <p5p10, p5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-25940 severity on Zeptric[![CVE-2024-25940](https://zeptric.io/badge/cve/CVE-2024-25940.svg)](https://zeptric.io/cve/CVE-2024-25940)