CVE-2024-25940

Medium

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.

SeverityMedium
CVSS6.3
Exploit probability—
ProductFreebsd
PublishedFeb 15, 2024
First seenFeb 15, 2024
Weakness typeCWE-922CWE-922

How to fix

Update
  • freebsd freebsd13.2, 14.0 or later

Affected products

ProductAffected versionsFixed in
freebsd freebsdv < 13.2, 13.3 ≤ v < 14.0, 13.2, 14.013.2, 14.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.