CVE-2024-38659
Last modified
CVE-2024-38659 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.35, < 4.19.316 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.278 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.219 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.161 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.93 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.33 | — |
| Linux | Linux Kernel | >= 6.7, < 6.9.4 | — |
| Linux | Linux Kernel | 6.10 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-38659?
How severe is CVE-2024-38659?
How do I fix CVE-2024-38659?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-38653XXE in SmartDeviceServer in Ivanti Avalanche 6.3.1 allows a …7.5
- CVE-2024-38654Improper bounds checking in Ivanti Secure Access Client befo…4.4
- CVE-2024-38655Argument injection in Ivanti Connect Secure before version 2…7.2
- CVE-2024-38656Argument injection in Ivanti Connect Secure before version 2…9.1
- CVE-2024-38657External control of a file name in Ivanti Connect Secure bef…4.9
- CVE-2024-38658There is an Out-of-bounds read vulnerability in V-Server (v4…7.8
- CVE-2024-3866The Ninja Forms Contact Form plugin for WordPress is vulnera…6.1
- CVE-2024-38660Protection mechanism failure in the SPP for some Intel(R) Xe…3.8
- CVE-2024-38661In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38662In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-38663In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38664In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-38659?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
