CVE-2024-53141
netfilter: ipset: add missing range check in bitmap_ip_uadt
Check your servers for CVE-2024-53141
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-53141 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ipset: add missing range check in bitmap_ip_uadt
When tb[IPSET_ATTR_IP_TO] is not present but tb[IPSET_ATTR_CIDR] exists, the values of ip and ip_to 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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 35.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 3c20b5948f119ae61ee35ad8584d666020c91581 affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 78b0f2028f1043227a8eb0c41944027fc6a04596 affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 2e151b8ca31607d14fddc4ad0f14da0893e1a7c7 affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before e67471437ae9083fa73fa67eee1573fec1b7c8cf affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 7ffef5e5d5eeecd9687204a5ec2d863752aafb7e affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 856023ef032d824309abd5c747241dffa33aae8c affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 591efa494a1cf649f50a35def649c43ae984cd03 affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 15794835378ed56fb9bacc6a5dd3b9f33520604e affected from 72205fc68bd13109576aa6c4c12c740962d28a6c, before 35f56c554eb1b56b77b3cf197a6b00922d49033d
Other versions: unaffected
|
| Linux |
affected 2.6.39 unaffected before 2.6.39 unaffected from 4.19.325 up to and including 4.19.* unaffected from 5.4.287 up to and including 5.4.* unaffected from 5.10.231 up to and including 5.10.* unaffected from 5.15.174 up to and including 5.15.* unaffected from 6.1.120 up to and including 6.1.* unaffected from 6.6.64 up to and including 6.6.* unaffected from 6.11.11 up to and including 6.11.* unaffected from 6.12.2 up to and including 6.12.* unaffected 6.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-53141 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-53141
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-53141
trivy image --scanners vuln IMAGE | grep CVE-2024-53141
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/3c20b5948f119ae61ee35ad8584d666020c91581 git.kernel.org
- https://git.kernel.org/stable/c/78b0f2028f1043227a8eb0c41944027fc6a04596 git.kernel.org
- https://git.kernel.org/stable/c/2e151b8ca31607d14fddc4ad0f14da0893e1a7c7 git.kernel.org
- https://git.kernel.org/stable/c/e67471437ae9083fa73fa67eee1573fec1b7c8cf git.kernel.org
- https://git.kernel.org/stable/c/7ffef5e5d5eeecd9687204a5ec2d863752aafb7e git.kernel.org
- https://git.kernel.org/stable/c/856023ef032d824309abd5c747241dffa33aae8c git.kernel.org
- https://git.kernel.org/stable/c/591efa494a1cf649f50a35def649c43ae984cd03 git.kernel.org
- https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604e git.kernel.org
- https://git.kernel.org/stable/c/35f56c554eb1b56b77b3cf197a6b00922d49033d git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-53141 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse