CVE-2024-32668

Sept. 5, 2024, 9:25 p.m.

8.2
High

Description

An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller. A malicious, privileged software running in a guest VM can exploit the vulnerability 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.

Product(s) Impacted

Vendor Product Versions
Freebsd
  • Freebsd
  • *, 13.3, 13.4, 14.0, 14.1

Weaknesses

Common security weaknesses mapped to this vulnerability.

CWE-193
Off-by-one Error
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
CWE-787
Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.

*CPE(s)

Affected systems and software identified for this CVE.

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
o freebsd freebsd / / / / / / / /
o freebsd freebsd 13.3 - / / / / / /
o freebsd freebsd 13.3 p1 / / / / / /
o freebsd freebsd 13.3 p2 / / / / / /
o freebsd freebsd 13.3 p3 / / / / / /
o freebsd freebsd 13.3 p4 / / / / / /
o freebsd freebsd 13.3 p5 / / / / / /
o freebsd freebsd 13.4 beta3 / / / / / /
o freebsd freebsd 14.0 - / / / / / /
o freebsd freebsd 14.0 beta5 / / / / / /
o freebsd freebsd 14.0 p1 / / / / / /
o freebsd freebsd 14.0 p2 / / / / / /
o freebsd freebsd 14.0 p3 / / / / / /
o freebsd freebsd 14.0 p4 / / / / / /
o freebsd freebsd 14.0 p5 / / / / / /
o freebsd freebsd 14.0 p6 / / / / / /
o freebsd freebsd 14.0 p7 / / / / / /
o freebsd freebsd 14.0 p8 / / / / / /
o freebsd freebsd 14.0 p9 / / / / / /
o freebsd freebsd 14.0 rc3 / / / / / /
o freebsd freebsd 14.0 rc4-p1 / / / / / /
o freebsd freebsd 14.1 - / / / / / /
o freebsd freebsd 14.1 p1 / / / / / /
o freebsd freebsd 14.1 p2 / / / / / /
o freebsd freebsd 14.1 p3 / / / / / /

CVSS Score

8.2 / 10

CVSS Data - 3.1

  • Attack Vector: LOCAL
  • Attack Complexity: LOW
  • Privileges Required: HIGH
  • Scope: CHANGED
  • Confidentiality Impact: HIGH
  • Integrity Impact: HIGH
  • Availability Impact: HIGH
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

    View Vector String

Timeline

Published: Sept. 5, 2024, 5:15 a.m.
Last Modified: Sept. 5, 2024, 9:25 p.m.

Status : Analyzed

CVE has been recently published to the CVE List and has been received by the NVD.

More info

Source

secteam@freebsd.org

*Disclaimer: Some vulnerabilities do not have an associated CPE. To enhance the data, we use AI to infer CPEs based on CVE details. This is an automated process and might not always be accurate.