SB2024103151 - Multiple vulnerabilities in FreeBSD bhyve



SB2024103151 - Multiple vulnerabilities in FreeBSD bhyve

Published: October 31, 2024

Security Bulletin ID SB2024103151
CSH Severity
High
Patch available
YES
Number of vulnerabilities 4
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

High 25% Medium 50% Low 25%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 vulnerabilities.


1) Out-of-bounds read (CVE-ID: CVE-2024-51562)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a malicious guest to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the nvme_opc_get_log_page() function in the NVMe driver in bhyve(8). A malicious guest can trigger an out-of-bounds read error and read contents of memory on the hypervisor.


2) Race condition (CVE-ID: CVE-2024-51563)

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a malicious guest to compromise the hypervisor.

The vulnerability exists due to a race condition within the virtio_vq_recordon() function in bhyve(8). A malicious guest can exploit the race and gain unauthorized access to sensitive information or execute arbitrary code on the hypervisor.


3) Infinite loop (CVE-ID: CVE-2024-51564)

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a malicious guest to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in the HDA audio driver. A malicious guest can consume all available system resources and cause denial of service conditions.


4) Infinite loop (CVE-ID: CVE-2024-51565)

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a malicious guest to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in the NVMe driver. A malicious guest can consume all available system resources and cause denial of service conditions.


Remediation

Install update from vendor's website.