{"id":"CVE-2023-52628","published":"2024-03-28T07:33:46Z","modified":"2026-08-05T09:10:47Z","title":"netfilter: nftables: exthdr: fix 4-byte stack OOB write","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nftables: exthdr: fix 4-byte stack OOB write\n\nIf priv->len is a multiple of 4, then dst[len / 4] can write past\nthe destination array which leads to stack corruption.\n\nThis construct is necessary to clean the remainder of the register\nin case ->len is NOT a multiple of the register size, so make it\nconditional just like nft_payload.c does.\n\nThe bug was added in 4.1 cycle and then copied/inherited when\ntcp/sctp and ip option support was added.\n\nBug reported by Zero Day Initiative project (ZDI-CAN-21950,\nZDI-CAN-21951, ZDI-CAN-21961).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00667,"percentile":0.52828,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a","tags":[]},{"url":"https://git.kernel.org/stable/c/cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb","tags":[]},{"url":"https://git.kernel.org/stable/c/a7d86a77c33ba1c357a7504341172cc1507f0698","tags":[]},{"url":"https://git.kernel.org/stable/c/1ad7b189cc1411048434e8595ffcbe7873b71082","tags":[]},{"url":"https://git.kernel.org/stable/c/d9ebfc0f21377690837ebbd119e679243e0099cc","tags":[]},{"url":"https://git.kernel.org/stable/c/c8f292322ff16b9a2272a67de396c09a50e09dce","tags":[]},{"url":"https://git.kernel.org/stable/c/fd94d9dadee58e09b49075240fe83423eb1dcd36","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":[]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.57},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a",">= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb",">= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < a7d86a77c33ba1c357a7504341172cc1507f0698",">= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < 1ad7b189cc1411048434e8595ffcbe7873b71082",">= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < d9ebfc0f21377690837ebbd119e679243e0099cc",">= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < c8f292322ff16b9a2272a67de396c09a50e09dce",">= 49499c3e6e18b7677a63316f3ff54a16533dc28f, < fd94d9dadee58e09b49075240fe83423eb1dcd36"]},{"vendor":"Linux","product":"Linux","versions":["4.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-28T18:07:47.232629Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57252","exploited":false,"provenance":"source"}}