CVE-2024-53141: netfilter: ipset: add missing range check in bitmap_ip_uadt
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ipset: add missing range check in bitmapipuadt
When tb[IPSETATTRIPTO] is not present but tb[IPSETATTRCIDR] exists, the values of ip and ipto are slightly swapped. Therefore, the range check for ip should be done later, but this part is missing and it seems that the vulnerability occurs.
So we should add missing range checks and remove unnecessary range checks.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2024-53141?
CVE-2024-53141 has been assigned a moderate severity rating in the Linux kernel.
How do I fix CVE-2024-53141?
To fix CVE-2024-53141, update the Linux kernel to versions 6.1.123-1, 6.12.10-1, or 6.12.11-1 or later.
Which versions of the Linux kernel are affected by CVE-2024-53141?
CVE-2024-53141 affects Linux kernel versions prior to 5.10.223-1, 6.1.119-1, and those within certain ranges between 2.6.39 and 6.12.
What components are impacted by CVE-2024-53141 in the Linux kernel?
CVE-2024-53141 specifically impacts the netfilter ipset component in the Linux kernel.
Is there a public reference for CVE-2024-53141?
Yes, you can find public references for CVE-2024-53141 in the Linux kernel git repository.