CVE-2023-53179
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
The missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can lead to the use of wrong `CIDR_POS(c)` for calculating array offsets, which can lead to integer underflow. As a result, it leads to slab out-of-bound access. This patch adds back the IP_SET_HASH_WITH_NET0 macro to ip_set_hash_netportnet to address the issue.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 7.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.17%
- Percentil entre todas las CVEs puntuadas: 6
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1068Exploitation for Privilege Escalationprivilege escalation85 % - Impacto principal
T1059Command and Scripting Interpreterexecution75 %
AV:L, PR:L, UI:N indica escalada local sin interacción. Integer underflow en netfilter causa slab out-of-bound access (corrupción de memoria) permitiendo ejecución de código con privilegios elevados.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-787
Referencias
- https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878
- https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260
- https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa
- https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808
- https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3
- https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14
- https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166
- https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225
- https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc
JSON original (NVD)
Mostrar
{
"id": "CVE-2023-53179",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Secondary",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
},
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "0d5d0b5c41f766355f2b42c47d13ea001f754c7d",
"lessThan": "7935b636dd693dfe4483cfef4a1e91366c8103fa",
"versionType": "git"
},
{
"status": "affected",
"version": "cb3e590df429ce151d5041884a4947099b8ad6a7",
"lessThan": "e632d09dffc68b9602d6893a99bfe3001d36cefc",
"versionType": "git"
},
{
"status": "affected",
"version": "886503f34d63e681662057448819edb5b1057a97",
"lessThan": "109e830585e89a03d554bf8ad0e668630d0a6260",
"versionType": "git"
},
{
"status": "affected",
"version": "886503f34d63e681662057448819edb5b1057a97",
"lessThan": "83091f8ac03f118086596f17c9a52d31d6ca94b3",
"versionType": "git"
},
{
"status": "affected",
"version": "886503f34d63e681662057448819edb5b1057a97",
"lessThan": "a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14",
"versionType": "git"
},
{
"status": "affected",
"version": "886503f34d63e681662057448819edb5b1057a97",
"lessThan": "7ca0706c68adadf86a36b60dca090f5e9481e808",
"versionType": "git"
},
{
"status": "affected",
"version": "886503f34d63e681662057448819edb5b1057a97",
"lessThan": "d59b6fc405549f7caf31f6aa5da1d6bef746b166",
"versionType": "git"
},
{
"status": "affected",
"version": "886503f34d63e681662057448819edb5b1057a97",
"lessThan": "d95c8420efe684b964e3aa28108e9a354bcd7225",
"versionType": "git"
},
{
"status": "affected",
"version": "886503f34d63e681662057448819edb5b1057a97",
"lessThan": "050d91c03b28ca479df13dfb02bcd2c60dd6a878",
"versionType": "git"
},
{
"status": "affected",
"version": "186642845b02e1a7944ef33c3a3ac41eba77517f",
"versionType": "git"
},
{
"status": "affected",
"version": "919560afc21f91ca352a20394d5249aba1799690",
"versionType": "git"
},
{
"status": "affected",
"version": "4.14.84",
"lessThan": "4.14.326",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.19.5",
"lessThan": "4.19.295",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.4.165",
"lessThan": "4.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.9.141",
"lessThan": "4.10",
"versionType": "semver"
}
],
"programFiles": [
"net/netfilter/ipset/ip_set_hash_netportnet.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.20"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.20",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "4.14.326",
"versionType": "semver",
"lessThanOrEqual": "4.14.*"
},
{
"status": "unaffected",
"version": "4.19.295",
"versionType": "semver",
"lessThanOrEqual": "4.19.*"
},
{
"status": "unaffected",
"version": "5.4.257",
"versionType": "semver",
"lessThanOrEqual": "5.4.*"
},
{
"status": "unaffected",
"version": "5.10.195",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.132",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.53",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.4.16",
"versionType": "semver",
"lessThanOrEqual": "6.4.*"
},
{
"status": "unaffected",
"version": "6.5.3",
"versionType": "semver",
"lessThanOrEqual": "6.5.*"
},
{
"status": "unaffected",
"version": "6.6",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/netfilter/ipset/ip_set_hash_netportnet.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2025-09-15T14:15:39.920",
"references": [
{
"url": "https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-787"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c\n\nThe missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can\nlead to the use of wrong `CIDR_POS(c)` for calculating array offsets,\nwhich can lead to integer underflow. As a result, it leads to slab\nout-of-bound access.\nThis patch adds back the IP_SET_HASH_WITH_NET0 macro to\nip_set_hash_netportnet to address the issue."
}
],
"lastModified": "2026-08-04T10:18:56.657",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AD01C7C9-D368-4064-AD19-3ED7956BA008",
"versionEndExcluding": "4.5",
"versionStartIncluding": "4.4.165"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6110755E-5539-445C-883D-9E86287AFEEE",
"versionEndExcluding": "4.10",
"versionStartIncluding": "4.9.141"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "EE00D323-A07A-4CF1-A179-86163EBDB5A5",
"versionEndExcluding": "4.14.326",
"versionStartIncluding": "4.14.84"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CDC0A505-82EB-4D3B-9209-93E3A0300F29",
"versionEndExcluding": "4.19.295",
"versionStartIncluding": "4.19.5"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "53E75E7B-0EFC-452E-8A14-C44C5F193CB0",
"versionEndExcluding": "5.4.257",
"versionStartIncluding": "4.20.1"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C385B650-53DB-4BFB-83D1-1D8FADF653EF",
"versionEndExcluding": "5.10.195",
"versionStartIncluding": "5.5"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5913891D-409A-4EEC-9231-F2EF5A493BC7",
"versionEndExcluding": "5.15.132",
"versionStartIncluding": "5.11"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B20754AF-3B8C-4574-A70D-EC24933810E5",
"versionEndExcluding": "6.1.53",
"versionStartIncluding": "5.16"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C3039EA3-F6CA-43EF-9F17-81A7EC6841EF",
"versionEndExcluding": "6.4.16",
"versionStartIncluding": "6.2"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "880C803A-BEAE-4DA0-8A59-AC023F7B4EE3",
"versionEndExcluding": "6.5.3",
"versionStartIncluding": "6.5"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.20:-:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1072305B-94A8-4D68-9419-B786885AA310"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.20:rc2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "80BF0376-7A24-47F5-8CB1-42567422DEBD"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.20:rc3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "78302933-7144-4E9A-A4DC-B8EB431CC249"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.20:rc4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0758DE8E-2550-4676-A7D0-9D19FD935993"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.20:rc5:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BB4884D1-AA0E-4A94-93A3-BF058D3DFEF7"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.20:rc6:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1741C485-D309-4821-A7F9-6F31A8FEB5CF"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.20:rc7:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "82240F8A-B5DF-45CC-8031-CDE3E191D24C"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}