{"id":"CVE-2024-25940","state":"PUBLISHED","title":"bhyveload(8) host file access","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.","publishedAt":"2024-02-15T04:21:57.624Z","updatedAt":"2025-02-13T17:40:54.448Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"freebsd","products":["FreeBSD FreeBSD"],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"14.0-RELEASE","status":"affected","lessThan":"p5","versionType":"release"},{"version":"13.2-RELEASE","status":"affected","lessThan":"p10","versionType":"release"}],"modules":["bhyveload"]}],"references":["https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc","https://security.netapp.com/advisory/ntap-20240419-0004/"],"weaknesses":["CWE-922"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/25xxx/CVE-2024-25940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-25940","state":"PUBLISHED","datePublished":"2024-02-15T04:21:57.624Z","dateUpdated":"2025-02-13T17:40:54.448Z","assignerShortName":"freebsd","assignerOrgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateReserved":"2024-02-13T03:02:51.610Z"},"containers":{"cna":{"title":"bhyveload(8) host file access","descriptions":[{"lang":"en","value":"`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."}],"affected":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"version":"14.0-RELEASE","status":"affected","lessThan":"p5","versionType":"release"},{"version":"13.2-RELEASE","status":"affected","lessThan":"p10","versionType":"release"}],"modules":["bhyveload"]}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240419-0004/"}],"providerMetadata":{"shortName":"freebsd","orgId":"63664ac6-956c-4cba-a5d0-f46076e16109","dateUpdated":"2024-04-19T07:05:49.918Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"The water cooler. (Note, this is the requested credit)"}],"datePublic":"2024-02-14T08:00:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-02-21T20:43:31.439077Z","id":"CVE-2024-25940","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-922","type":"CWE","lang":"en","description":"CWE-922 Insecure Storage of Sensitive Information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-21T16:30:13.476Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240419-0004/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:52:06.336Z"}}]}}}