
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-42270 is a vulnerability in the Linux kernel's netfilter/iptables component, specifically in the iptable_nat_table_init() function. The vulnerability was discovered in August 2024 and affects Linux kernel versions from 5.15 up to (excluding) 6.1.104, from 6.2 up to (excluding) 6.6.45, from 6.7 up to (excluding) 6.10.4, and version 6.11-rc1 (NVD).
The vulnerability is a NULL pointer dereference issue that occurs when iptable_nat_table_init() is exposed to user space before the kernel fully initializes netns. During a small race window, a user could call iptable_nat_table_init() that accesses net_generic(net, iptable_nat_net_id), which is only available after registering iptable_nat_net_ops. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability can lead to a system crash (denial of service) when exploited, particularly during the boot process when using iptables-restore. This occurs due to the NULL pointer dereference in the kernel space (Kernel Patch).
The vulnerability can be triggered through the iptables-restore command during system boot. It requires local access and low privileges to exploit. The issue has been confirmed to be exploitable in real-world scenarios, as demonstrated by the reported crash logs (Kernel Patch).
The vulnerability has been fixed by modifying the initialization sequence in iptable_nat_table_init() to ensure register_pernet_subsys() is called before xt_register_template(). This fix has been implemented in the Linux kernel through a patch that corrects the order of operations (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."