CVE-2024-53141

high

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.

References

https://git.kernel.org/stable/c/856023ef032d824309abd5c747241dffa33aae8c

https://git.kernel.org/stable/c/591efa494a1cf649f50a35def649c43ae984cd03

https://git.kernel.org/stable/c/3c20b5948f119ae61ee35ad8584d666020c91581

https://git.kernel.org/stable/c/35f56c554eb1b56b77b3cf197a6b00922d49033d

https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604e

Details

Source: Mitre, NVD

Published: 2024-12-06

Updated: 2024-12-10

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High