Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-38659

7.3 · HIGH
Published Jun 21, 2024 linux CWE-1284 EPSS 0.24% (15th pctl)

Overview

CVE-2024-38659 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 21, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

enic: Validate length of nl attributes in enic_set_vf_port

enic_set_vf_port assumes that the nl attribute IFLA_PORT_PROFILE

is of length PORT_PROFILE_MAX and that the nl attributes

IFLA_PORT_INSTANCE_UUID, IFLA_PORT_HOST_UUID are of length PORT_UUID_MAX.

These attributes are validated (in the function do_setlink in rtnetlink.c)

using the nla_policy ifla_port_policy. The policy defines IFLA_PORT_PROFILE

as NLA_STRING, IFLA_PORT_INSTANCE_UUID as NLA_BINARY and

IFLA_PORT_HOST_UUID as NLA_STRING. That means that the length validation

using the policy is for the max size of the attributes and not on exact

size so the length of these attributes might be less than the sizes that

enic_set_vf_port expects. This might cause an out of bands

read access in the memcpys of the data of these

attributes in enic_set_vf_port.

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 2.6.35, < 4.19.316 Affected

Frequently Asked Questions

What is CVE-2024-38659?

CVE-2024-38659 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 21, 2024 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2024-38659?

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-38659?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-38659?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-38659 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.