6.3
MEDIUM
CVE-2024-25940
Apple bhyveload Directory Traversal Vulnerability
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.

INFO

Published Date :

Feb. 15, 2024, 5:15 a.m.

Last Modified :

June 4, 2025, 9:24 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.4

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2024-25940 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-25940 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Freebsd freebsd
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-25940.

URL Resource
https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc Vendor Advisory
https://security.netapp.com/advisory/ntap-20240419-0004/ Third Party Advisory
https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc Vendor Advisory
https://security.netapp.com/advisory/ntap-20240419-0004/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python Dockerfile C++ Shell JavaScript TypeScript

Updated: 1 month ago
9 stars 3 fork 3 watcher
Born at : Nov. 6, 2024, 9:43 a.m. This repo has been linked 13 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-25940 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-25940 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 04, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:o:freebsd:freebsd:13.2:p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* versions up to (excluding) 13.2 *cpe:2.3:o:freebsd:freebsd:13.2:p4:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:beta5:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p5:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p6:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p7:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p8:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:13.2:p9:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* versions from (including) 13.3 up to (excluding) 14.0 *cpe:2.3:o:freebsd:freebsd:14.0:rc3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:rc4-p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p1:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p2:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p3:*:*:*:*:*:* *cpe:2.3:o:freebsd:freebsd:14.0:p4:*:*:*:*:*:*
    Added Reference Type CVE: https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc Types: Vendor Advisory
    Added Reference Type FreeBSD: https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc Types: Vendor Advisory
    Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20240419-0004/ Types: Third Party Advisory
    Added Reference Type FreeBSD: https://security.netapp.com/advisory/ntap-20240419-0004/ Types: Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 21, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
    Added CWE CWE-922
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc
    Added Reference https://security.netapp.com/advisory/ntap-20240419-0004/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 19, 2024

    Action Type Old Value New Value
    Added Reference FreeBSD https://security.netapp.com/advisory/ntap-20240419-0004/ [No types assigned]
  • CVE Received by [email protected]

    Feb. 15, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference FreeBSD https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-25940 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-25940 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} 0.07%

score

0.32480

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 06, 2025 9:53