CVE-2023-31248
Vulnerability Summary
Timeline
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
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.22%• Percentile: 45%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04 | 18.04 | 20.04 | 22.04
- debian•debian_linux
11.0
- fedoraproject•fedora
37 | 38
- linux•linux_kernel
v5.9-rc1 | ≥ 5.9, < 5.10.188 | ≥ 5.11, < 5.15.121 | ≥ 5.16, < 6.1.39 | ≥ 6.2, < 6.4.4
References (10)
- 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/