Skip to content

CVE-2024-25940 bhyveload(8) host file access

MediumCVSS 6.3 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
freebsd < 13.2; = 13.2-p1; = 13.2-p2; = 13.2-p3 +16 more 13.2, 14.0, p5, p10 Fixed

Affected products

ProductAffected versionsFixed in
freebsd >= 14.0-RELEASE, < p5 p5
freebsd >= 13.2-RELEASE, < p10 p10
freebsd < 13.2 13.2
freebsd >= 13.3, < 14.0 14.0
freebsd = 13.2-p1 No fix listed
freebsd = 13.2-p2 No fix listed
freebsd = 13.2-p3 No fix listed
freebsd = 13.2-p4 No fix listed
freebsd = 13.2-p5 No fix listed
freebsd = 13.2-p6 No fix listed
freebsd = 13.2-p7 No fix listed
freebsd = 13.2-p8 No fix listed
freebsd = 13.2-p9 No fix listed
freebsd = 14.0-beta5 No fix listed
freebsd = 14.0-p1 No fix listed
freebsd = 14.0-p2 No fix listed
freebsd = 14.0-p3 No fix listed
freebsd = 14.0-p4 No fix listed
freebsd = 14.0-rc3 No fix listed
freebsd = 14.0-rc4-p1 No fix listed

References