CVE-2023-31248
JSON

7.8high

Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability

Severity
7.8high CVSS:3.1 by canonical
Exploit likelihood
1.89% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical

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

Affected

Product or packageVersionsReported by
Linux Linux Kernelv5.9-rc1CVE List
linux linux_kernelfrom 5.9 before 5.10.188, from 5.11 before 5.15.121, from 5.16 before 6.1.39, from 6.2 before 6.4.4NVD
fedoraproject fedora37, 38NVD
debian debian_linux11.0NVD
canonical ubuntu_linux14.04, 16.04, 18.04, 20.04, 22.04NVD

All scores

canonical7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

Vulnerabilidad de Escalada de Privilegios Locales de Use-After-Free de Linux nftables; 'nft_chain_lookup_byid()' no pudo comprobar si una cadena estaba activa y CAP_NET_ADMIN está en cualquier espacio de nombres de usuario o red

References

https://lore.kernel.org/netfilter-devel/20230705121627.GC19489@breakpoint.cc/T/issue-tracking, patch
https://www.openwall.com/lists/oss-security/2023/07/05/2mailing-list
http://www.openwall.com/lists/oss-security/2023/07/05/2mailing-list, third-party-advisory
https://www.debian.org/security/2023/dsa-5453third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/mailing-list
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/mailing-list
http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.htmlthird-party-advisory, vdb-entry
https://lists.debian.org/debian-lts-announce/2023/08/msg00001.htmlthird-party-advisory, vdb-entry
http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.htmlthird-party-advisory, vdb-entry
https://security.netapp.com/advisory/ntap-20240201-0001/

Sources

SourceRecordLicence
CVE ListCVE-2023-31248 changed 2025-03-05CVE Terms of Use
NVDCVE-2023-31248 changed 2026-06-17Public domain