CVE-2024-42416

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

CVSS Score

8.8 / 10

Products Impacted

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

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.

Weaknesses

CWE-1284
Improper Validation of Specified Quantity in Input

The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

CWE ID: 1284
CWE-790
Improper Filtering of Special Elements

The product receives data from an upstream component, but does not filter or incorrectly filters special elements before sending it to a downstream component.

CWE ID: 790

Date

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

CPEs

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 Data

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

Base Score
8.8
Exploitability Score
2.0
Impact Score
6.0
Base Severity
HIGH
CVSS Vector String

The CVSS vector string provides an in-depth view of the vulnerability metrics.

View Vector String

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

References