{"id":"CVE-2023-31248","state":"PUBLISHED","title":"Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability","description":"Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability; `nft_chain_lookup_byid()` failed to check whether a chain was active and CAP_NET_ADMIN is in any user or network namespace","publishedAt":"2023-07-05T18:33:59.665Z","updatedAt":"2025-03-05T18:54:52.842Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Linux Linux Kernel"],"affected":[{"vendor":"Linux","product":"Linux Kernel","versions":[{"version":"v5.9-rc1","status":"affected"}],"platforms":["Linux"]}],"references":["https://lore.kernel.org/netfilter-devel/20230705121627.GC19489@breakpoint.cc/T/","https://www.openwall.com/lists/oss-security/2023/07/05/2","http://www.openwall.com/lists/oss-security/2023/07/05/2","https://www.debian.org/security/2023/dsa-5453","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/","http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html","https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html","http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html","https://security.netapp.com/advisory/ntap-20240201-0001/"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/31xxx/CVE-2023-31248.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-31248","state":"PUBLISHED","datePublished":"2023-07-05T18:33:59.665Z","dateUpdated":"2025-03-05T18:54:52.842Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2023-06-29T21:43:35.029Z"},"containers":{"cna":{"title":"Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability","descriptions":[{"lang":"en","value":"Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability; `nft_chain_lookup_byid()` failed to check whether a chain was active and CAP_NET_ADMIN is in any user or network namespace"}],"affected":[{"vendor":"Linux","product":"Linux Kernel","versions":[{"version":"v5.9-rc1","status":"affected"}],"platforms":["Linux"]}],"references":[{"url":"https://lore.kernel.org/netfilter-devel/20230705121627.GC19489@breakpoint.cc/T/","tags":["issue-tracking"]},{"url":"https://www.openwall.com/lists/oss-security/2023/07/05/2","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/05/2"},{"url":"https://www.debian.org/security/2023/dsa-5453"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/"},{"url":"http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html"},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html"},{"url":"http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html"},{"url":"https://security.netapp.com/advisory/ntap-20240201-0001/"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2024-02-01T17:07:05.274Z"},"datePublic":"2023-07-05T12:12:00.000Z","credits":[{"type":"finder","lang":"en","value":"Mingi Cho"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lore.kernel.org/netfilter-devel/20230705121627.GC19489@breakpoint.cc/T/","tags":["issue-tracking","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2023/07/05/2","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/05/2","tags":["x_transferred"]},{"url":"https://www.debian.org/security/2023/dsa-5453","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240201-0001/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T14:53:31.000Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-05T18:36:50.820740Z","id":"CVE-2023-31248","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-05T18:54:52.842Z"}}]}}}