CVE-2024-53141
Vulnerability from cvelistv5
Published
2024-12-06 09:37
Modified
2025-01-20 06:19
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Version: 72205fc68bd13109576aa6c4c12c740962d28a6c
Create a notification for this product.
   Linux Linux Version: 2.6.39
Create a notification for this product.
Show details on NVD website


{
   containers: {
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "net/netfilter/ipset/ip_set_bitmap_ip.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "3c20b5948f119ae61ee35ad8584d666020c91581",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "78b0f2028f1043227a8eb0c41944027fc6a04596",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "2e151b8ca31607d14fddc4ad0f14da0893e1a7c7",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "e67471437ae9083fa73fa67eee1573fec1b7c8cf",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "7ffef5e5d5eeecd9687204a5ec2d863752aafb7e",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "856023ef032d824309abd5c747241dffa33aae8c",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "591efa494a1cf649f50a35def649c43ae984cd03",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "15794835378ed56fb9bacc6a5dd3b9f33520604e",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
                  {
                     lessThan: "35f56c554eb1b56b77b3cf197a6b00922d49033d",
                     status: "affected",
                     version: "72205fc68bd13109576aa6c4c12c740962d28a6c",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "net/netfilter/ipset/ip_set_bitmap_ip.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "2.6.39",
                  },
                  {
                     lessThan: "2.6.39",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "4.19.*",
                     status: "unaffected",
                     version: "4.19.325",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.4.*",
                     status: "unaffected",
                     version: "5.4.287",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.10.*",
                     status: "unaffected",
                     version: "5.10.231",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "5.15.*",
                     status: "unaffected",
                     version: "5.15.174",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.1.*",
                     status: "unaffected",
                     version: "6.1.120",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.64",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.11.*",
                     status: "unaffected",
                     version: "6.11.11",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.12.*",
                     status: "unaffected",
                     version: "6.12.2",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.13",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: add missing range check in bitmap_ip_uadt\n\nWhen tb[IPSET_ATTR_IP_TO] is not present but tb[IPSET_ATTR_CIDR] exists,\nthe values of ip and ip_to are slightly swapped. Therefore, the range check\nfor ip should be done later, but this part is missing and it seems that the\nvulnerability occurs.\n\nSo we should add missing range checks and remove unnecessary range checks.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-01-20T06:19:38.992Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/3c20b5948f119ae61ee35ad8584d666020c91581",
            },
            {
               url: "https://git.kernel.org/stable/c/78b0f2028f1043227a8eb0c41944027fc6a04596",
            },
            {
               url: "https://git.kernel.org/stable/c/2e151b8ca31607d14fddc4ad0f14da0893e1a7c7",
            },
            {
               url: "https://git.kernel.org/stable/c/e67471437ae9083fa73fa67eee1573fec1b7c8cf",
            },
            {
               url: "https://git.kernel.org/stable/c/7ffef5e5d5eeecd9687204a5ec2d863752aafb7e",
            },
            {
               url: "https://git.kernel.org/stable/c/856023ef032d824309abd5c747241dffa33aae8c",
            },
            {
               url: "https://git.kernel.org/stable/c/591efa494a1cf649f50a35def649c43ae984cd03",
            },
            {
               url: "https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604e",
            },
            {
               url: "https://git.kernel.org/stable/c/35f56c554eb1b56b77b3cf197a6b00922d49033d",
            },
         ],
         title: "netfilter: ipset: add missing range check in bitmap_ip_uadt",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-53141",
      datePublished: "2024-12-06T09:37:02.009Z",
      dateReserved: "2024-11-19T17:17:24.997Z",
      dateUpdated: "2025-01-20T06:19:38.992Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-53141\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-06T10:15:06.050\",\"lastModified\":\"2024-12-14T21:15:38.550\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfilter: ipset: add missing range check in bitmap_ip_uadt\\n\\nWhen tb[IPSET_ATTR_IP_TO] is not present but tb[IPSET_ATTR_CIDR] exists,\\nthe values of ip and ip_to are slightly swapped. Therefore, the range check\\nfor ip should be done later, but this part is missing and it seems that the\\nvulnerability occurs.\\n\\nSo we should add missing range checks and remove unnecessary range checks.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: ipset: agrega comprobación de rango faltante en bitmap_ip_uadt Cuando tb[IPSET_ATTR_IP_TO] no está presente pero tb[IPSET_ATTR_CIDR] existe, los valores de ip e ip_to se intercambian ligeramente. Por lo tanto, la comprobación de rango para ip debería realizarse más tarde, pero esta parte falta y parece que ocurre la vulnerabilidad. Por lo tanto, deberíamos agregar las comprobaciones de rango faltantes y eliminar las comprobaciones de rango innecesarias.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.6.39\",\"versionEndExcluding\":\"4.19.325\",\"matchCriteriaId\":\"0C7770FA-B486-4531-9A29-FE9BC1D2E0D9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"6.6.64\",\"matchCriteriaId\":\"D42B3E7C-85DF-4DBF-A6EC-E45F69FF2DCA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"21434379-192D-472F-9B54-D45E3650E893\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/15794835378ed56fb9bacc6a5dd3b9f33520604e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2e151b8ca31607d14fddc4ad0f14da0893e1a7c7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/35f56c554eb1b56b77b3cf197a6b00922d49033d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3c20b5948f119ae61ee35ad8584d666020c91581\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/591efa494a1cf649f50a35def649c43ae984cd03\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/78b0f2028f1043227a8eb0c41944027fc6a04596\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7ffef5e5d5eeecd9687204a5ec2d863752aafb7e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/856023ef032d824309abd5c747241dffa33aae8c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e67471437ae9083fa73fa67eee1573fec1b7c8cf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.