Vulnerability in Freebsd

CVE-2024-25940

`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.

EPSS: 0.005 (40.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

  • Freebsd — versions 14.0, 14.0-RELEASE, 13.2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-25940?
CVE-2024-25940 is a medium-severity vulnerability in Freebsd, classified under CWE-922. CVSS score: 6.3/10. Published 2024-02-15.
How severe is CVE-2024-25940?
Medium severity. CVSS v3 base score is 6.3 out of 10.
Is CVE-2024-25940 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.