CVE-2024-8178
Last modified
CVE-2024-8178 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it. 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. EPSS estimates a 0.60% chance of exploitation in the next 30 days.
Description
The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it. 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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Freebsd | Freebsd | >= 13.0, < 13.3 | — |
| Freebsd | Freebsd | 13.3 | — |
| Freebsd | Freebsd | 13.4 | Beta3 |
| Freebsd | Freebsd | 14.0 | — |
| Freebsd | Freebsd | 14.1 | — |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-8178?
How severe is CVE-2024-8178?
How do I fix CVE-2024-8178?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-8172A vulnerability, which was classified as problematic, has be…6.1
- CVE-2024-8173A vulnerability, which was classified as critical, was found…7.5
- CVE-2024-8174A vulnerability has been found in code-projects Blood Bank S…6.1
- CVE-2024-8175An unauthenticated remote attacker can causes the CODESYS we…7.5
- CVE-2024-8176A stack overflow vulnerability exists in the libexpat librar…7.5
- CVE-2024-8177An issue was discovered in GitLab CE/EE affecting all versio…7.5
- CVE-2024-8179An issue has been discovered in GitLab CE/EE affecting all v…5.4
- CVE-2024-8180An issue has been discovered in GitLab CE/EE affecting all v…5.4
- CVE-2024-8181An Authentication Bypass vulnerability exists in Flowise ver…8.1
- CVE-2024-8182An Unauthenticated Denial of Service (DoS) vulnerability exi…7.5
- CVE-2024-8183A CORS (Cross-Origin Resource Sharing) misconfiguration in p…7.6
- CVE-2024-8184There exists a security vulnerability in Jetty's ThreadLimit…6.5
Are you affected by CVE-2024-8178?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
