CVE-2024-53141
Summary
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604e ↗
Additional information
- NVD record
- https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604ePatch
- https://git.kernel.org/stable/c/35f56c554eb1b56b77b3cf197a6b00922d49033dPatch
- https://git.kernel.org/stable/c/3c20b5948f119ae61ee35ad8584d666020c91581Patch
- https://git.kernel.org/stable/c/591efa494a1cf649f50a35def649c43ae984cd03Patch
- https://git.kernel.org/stable/c/856023ef032d824309abd5c747241dffa33aae8cPatch
- https://git.kernel.org/stable/c/2e151b8ca31607d14fddc4ad0f14da0893e1a7c7
- https://git.kernel.org/stable/c/78b0f2028f1043227a8eb0c41944027fc6a04596
- https://git.kernel.org/stable/c/7ffef5e5d5eeecd9687204a5ec2d863752aafb7e