We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-42416

Multiple issues in ctl(4) CAM Target Layer



Assignerfreebsd
Reserved2024-08-27
Published2024-09-05
Updated2024-09-05

Description

The ctl_report_supported_opcodes function did not sufficiently validate a field provided by userspace, allowing an arbitrary write to a limited amount of kernel help memory. 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.

Problem types

CWE-790 Improper Filtering of Special Elements

CWE-823 Use of Out-of-range Pointer Offset

Product status

Default status
0x40029bf9c0

14.1-RELEASE before p4
affected

14.0-RELEASE before p10
affected

13.3-RELEASE before p6
affected

Credits

Synacktiv 0x40029bfa60

The FreeBSD Foundation 0x40029bfa70

The Alpha-Omega Project 0x40029bfa80

References

https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc vendor-advisory

cve.org CVE-2024-42416

nvd.nist.gov CVE-2024-42416

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-42416
Subscribe to our newsletter to learn more about our work.