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.
History

Fri, 20 Dec 2024 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Thu, 19 Dec 2024 14:00:00 +0000


Sat, 14 Dec 2024 21:00:00 +0000


Tue, 10 Dec 2024 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Mon, 09 Dec 2024 11:00:00 +0000


Fri, 06 Dec 2024 09:45:00 +0000

Type Values Removed Values Added
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.
Title netfilter: ipset: add missing range check in bitmap_ip_uadt
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-12-06T09:37:02.009Z

Updated: 2024-12-19T09:40:11.435Z

Reserved: 2024-11-19T17:17:24.997Z

Link: CVE-2024-53141

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2024-12-06T10:15:06.050

Modified: 2024-12-14T21:15:38.550

Link: CVE-2024-53141

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-12-06T00:00:00Z

Links: CVE-2024-53141 - Bugzilla