CVE-2024-25940
Last modified
CVE-2024-25940 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. `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. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Freebsd | Freebsd | < 13.2 | — |
| Freebsd | Freebsd | >= 13.3, < 14.0 | — |
| Freebsd | Freebsd | 13.2 | P1 |
| Freebsd | Freebsd | 14.0 | Beta5 |
References
- https://security.netapp.com/advisory/ntap-20240419-0004/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240419-0004/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-25940?
How severe is CVE-2024-25940?
How do I fix CVE-2024-25940?
Are you affected by CVE-2024-25940?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
