Read the docs
TI-2024-07585 Aliases CVE-2024-8178GHSA-9qxr-9qr6-7x7w

Multiple issues in ctl(4) CAM Target Layer

Priority MEDIUM 43CWE-908Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00601 49th percentileScored 2026-11-07
Fix Fixed FreeBSD (FreeBSD): p4, p10, p6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FreeBSDFreeBSD14.1-RELEASE to before p4; 14.0-RELEASE to before p10; 13.3-RELEASE to before p6p4, p10, p6Patch availableCNA
  • FreeBSD VendorFreeBSD Affected 14.1-RELEASE to before p4; 14.0-RELEASE to before p10; 13.3-RELEASE to before p6 Fixed in p4, p10, p6 Patch available CNA

CPE configurations NVD · 25

CPEVersionsRoleVendor
cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*13.0 to before 13.3VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:13.3:-:*:*:*:*:*:*13.3VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:13.3:p1:*:*:*:*:*:*13.3 p1VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:13.3:p2:*:*:*:*:*:*13.3 p2VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:13.3:p3:*:*:*:*:*:*13.3 p3VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:13.3:p4:*:*:*:*:*:*13.3 p4VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:13.3:p5:*:*:*:*:*:*13.3 p5VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:13.4:beta3:*:*:*:*:*:*13.4 beta3VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:-:*:*:*:*:*:*14.0VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:beta5:*:*:*:*:*:*14.0 beta5VulnerableFreeBSD
  • cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* Versions 13.0 to before 13.3 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.3:-:*:*:*:*:*:* Versions 13.3 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.3:p1:*:*:*:*:*:* Versions 13.3 p1 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.3:p2:*:*:*:*:*:* Versions 13.3 p2 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.3:p3:*:*:*:*:*:* Versions 13.3 p3 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.3:p4:*:*:*:*:*:* Versions 13.3 p4 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.3:p5:*:*:*:*:*:* Versions 13.3 p5 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.4:beta3:*:*:*:*:*:* Versions 13.4 beta3 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:-:*:*:*:*:*:* Versions 14.0 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:beta5:*:*:*:*:*:* Versions 14.0 beta5 Vulnerable ·FreeBSD
Show 15 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:freebsd:freebsd:14.0:p1:*:*:*:*:*:*14.0 p1VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p2:*:*:*:*:*:*14.0 p2VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p3:*:*:*:*:*:*14.0 p3VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p4:*:*:*:*:*:*14.0 p4VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p5:*:*:*:*:*:*14.0 p5VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p6:*:*:*:*:*:*14.0 p6VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p7:*:*:*:*:*:*14.0 p7VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p8:*:*:*:*:*:*14.0 p8VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:p9:*:*:*:*:*:*14.0 p9VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:rc3:*:*:*:*:*:*14.0 rc3VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.0:rc4-p1:*:*:*:*:*:*14.0 rc4-p1VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.1:-:*:*:*:*:*:*14.1VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.1:p1:*:*:*:*:*:*14.1 p1VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.1:p2:*:*:*:*:*:*14.1 p2VulnerableFreeBSD
cpe:2.3:o:freebsd:freebsd:14.1:p3:*:*:*:*:*:*14.1 p3VulnerableFreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p1:*:*:*:*:*:* Versions 14.0 p1 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p2:*:*:*:*:*:* Versions 14.0 p2 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p3:*:*:*:*:*:* Versions 14.0 p3 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p4:*:*:*:*:*:* Versions 14.0 p4 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p5:*:*:*:*:*:* Versions 14.0 p5 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p6:*:*:*:*:*:* Versions 14.0 p6 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p7:*:*:*:*:*:* Versions 14.0 p7 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p8:*:*:*:*:*:* Versions 14.0 p8 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:p9:*:*:*:*:*:* Versions 14.0 p9 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:rc3:*:*:*:*:*:* Versions 14.0 rc3 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.0:rc4-p1:*:*:*:*:*:* Versions 14.0 rc4-p1 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.1:-:*:*:*:*:*:* Versions 14.1 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.1:p1:*:*:*:*:*:* Versions 14.1 p1 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.1:p2:*:*:*:*:*:* Versions 14.1 p2 Vulnerable ·FreeBSD
  • cpe:2.3:o:freebsd:freebsd:14.1:p3:*:*:*:*:*:* Versions 14.1 p3 Vulnerable ·FreeBSD

Remediation

  • Fix · CNA FreeBSD (FreeBSD) Fixed in p4, p10, p6

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    FreeBSD — security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc

    4 records Highest priority Priority MEDIUM 4 MEDIUM

    Other records, highest priority first

    • TI-2024-30174 Multiple issues in ctl(4) CAM Target LayerPriority MEDIUM 43
    • TI-2024-28781 Multiple issues in ctl(4) CAM Target LayerPriority MEDIUM 40
    • TI-2024-28394 Multiple issues in ctl(4) CAM Target LayerPriority MEDIUM 40

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-8178
  2. 2026-10-03 Alias added: GHSA-9qxr-9qr6-7x7w

References

  • TI-2011-04182 Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT… CVSS 2.0HIGH 10.0
  • TI-2007-03684 Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows… CVSS 3.1CRITICAL 9.8
  • TI-2002-00376 Integer overflow in xdr_array function in RPC servers for operating systems that use… CVSS 3.1CRITICAL 9.8
  • TI-2024-05929 Openssh: regresshion - race condition in ssh allows rce/dos CVSS 3.1HIGH 8.1
  • TI-2003-00437 Off-by-one error in the fb_realpath() function, as derived from the realpath function in… CVSS 3.1CRITICAL 9.8
  • TI-2003-00642 The prescan function in Sendmail 8.12.9 allows remote attackers to execute arbitrary code… CVSS 2.0HIGH 10.0
See all 576 →

Sources