CVE-2024-35962
Last modified
CVE-2024-35962 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do_replace() handlers use copy_from_sockptr() (which I fixed), followed by unsafe copy_from_sockptr_offset() calls. In all functions, we can perform the @optlen validation before even calling xt_alloc_table_info() with the following check: if ((u64)optlen < (u64)tmp.size + sizeof(tmp)) return -EINVAL;. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do_replace() handlers use copy_from_sockptr() (which I fixed), followed by unsafe copy_from_sockptr_offset() calls. In all functions, we can perform the @optlen validation before even calling xt_alloc_table_info() with the following check: if ((u64)optlen < (u64)tmp.size + sizeof(tmp)) return -EINVAL;
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15.154, < 5.15.156 | — |
| Linux | Linux Kernel | >= 6.1.85, < 6.1.87 | — |
| Linux | Linux Kernel | >= 6.6.26, < 6.6.28 | — |
| Linux | Linux Kernel | >= 6.8.5, < 6.8.7 | — |
| Linux | Linux Kernel | 5.10.215 | — |
| Linux | Linux Kernel | 6.9 | Rc3 |
| Debian | Debian Linux | 10.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-35962?
How severe is CVE-2024-35962?
How do I fix CVE-2024-35962?
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-35957In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35958In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35959In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-3596RADIUS Protocol under RFC 2865 is susceptible to forgery att…9
- CVE-2024-35960In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2024-35961In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35963In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-35964In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-35965In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-35966In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-35967In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-35968In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-35962?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
