CVE-2024-25940

bhyveload(8) host file access

State
Published
Severity
6.3 Medium
Published
Feb 15, 2024
Updated
Feb 13, 2025
Reserved
Feb 13, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LCISA-ADP

Weaknesses

  • CWE-922 Insecure Storage of Sensitive Information

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 14.0-RELEASE to before p5Affected
  • 13.2-RELEASE to before p10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.