---
cve: "CVE-2024-45063"
severity: "CRITICAL"
cvss: 9.8
epss: "52%"
vendor: "FreeBSD"
kev: false
exploited: false
published: "2024-09-05 05:15:13"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-06T20:01:47+02:00"
---

# CVE-2024-45063

> 9.8 CRITICAL

## Beschreibung

The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing.

Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve code execution on the host in the bhyve userspace process, which typically runs as root.  Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process.  A malicious iSCSI initiator could achieve remote code execution on the iSCSI target host.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Referenzen

- <https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc>
- <https://security.netapp.com/advisory/ntap-20240920-0010/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-45063) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
