7.8
HIGH
CVE-2023-31248
Linux Kernel nftables Use-After-Free Local Privilege Escalation
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

INFO

Published Date :

July 5, 2023, 7:15 p.m.

Last Modified :

Nov. 21, 2024, 8:01 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2023-31248 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-31248 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Canonical ubuntu_linux
1 Fedoraproject fedora
1 Debian debian_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-31248.

URL Resource
http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html Third Party Advisory VDB Entry
https://lists.fedoraproject.org/archives/list/[email protected]/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/ Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/ Mailing List
https://lore.kernel.org/netfilter-devel/[email protected]/T/ Patch
https://security.netapp.com/advisory/ntap-20240201-0001/
https://www.debian.org/security/2023/dsa-5453 Third Party Advisory
https://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List
http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html Third Party Advisory VDB Entry
https://lists.fedoraproject.org/archives/list/[email protected]/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/ Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/ Mailing List
https://lore.kernel.org/netfilter-devel/[email protected]/T/ Patch
https://security.netapp.com/advisory/ntap-20240201-0001/
https://www.debian.org/security/2023/dsa-5453 Third Party Advisory
https://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

一个CVE漏洞预警知识库 no exp/poc

Updated: 2 months, 3 weeks ago
95 stars 13 fork 13 watcher
Born at : Jan. 5, 2023, 2:19 a.m. This repo has been linked 143 different CVEs too.

A collection of proof-of-concept exploit scripts written by the STAR Labs team for various CVEs that they discovered or found by others.

JavaScript HTML Python Shell C Makefile C++

Updated: 1 month, 4 weeks ago
255 stars 47 fork 47 watcher
Born at : April 6, 2020, 1:26 a.m. This repo has been linked 14 different CVEs too.

A collection of links related to Linux kernel security and exploitation

linux-kernel kernel-exploitation exploit privilege-escalation security

Updated: 1 month, 4 weeks ago
5760 stars 924 fork 924 watcher
Born at : Nov. 13, 2016, 10:21 p.m. This repo has been linked 257 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-31248 vulnerability anywhere in the article.

  • Kaspersky
Exploits and vulnerabilities in Q3 2024

Q3 2024 saw multiple vulnerabilities discovered in Windows and Linux subsystems that are not standard for cyberattacks. This is because operating system developers have been releasing new security mit ... Read more

Published Date: Dec 06, 2024 (3 months, 4 weeks ago)

The following table lists the changes that have been made to the CVE-2023-31248 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html
    Added Reference http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/05/2
    Added Reference https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/
    Added Reference https://lore.kernel.org/netfilter-devel/[email protected]/T/
    Added Reference https://security.netapp.com/advisory/ntap-20240201-0001/
    Added Reference https://www.debian.org/security/2023/dsa-5453
    Added Reference https://www.openwall.com/lists/oss-security/2023/07/05/2
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 01, 2024

    Action Type Old Value New Value
    Added Reference Canonical Ltd. https://security.netapp.com/advisory/ntap-20240201-0001/ [No types assigned]
  • Modified Analysis by [email protected]

    Dec. 12, 2023

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html Third Party Advisory http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html Third Party Advisory, VDB Entry
    Changed Reference Type http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html No Types Assigned http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html Third Party Advisory, VDB Entry
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.9.0:rc1:*:*:*:*:*:* OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.9 up to (excluding) 5.10.188 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.121 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.39 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.4.4
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    Sep. 11, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 02, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Aug. 02, 2023

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html No Types Assigned http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List http://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/ Mailing List
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/ Mailing List
    Changed Reference Type https://www.debian.org/security/2023/dsa-5453 No Types Assigned https://www.debian.org/security/2023/dsa-5453 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 26, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 23, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 17, 2023

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2023/dsa-5453 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 11, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/07/05/2 No Types Assigned http://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List
    Changed Reference Type https://lore.kernel.org/netfilter-devel/[email protected]/T/ No Types Assigned https://lore.kernel.org/netfilter-devel/[email protected]/T/ Patch
    Changed Reference Type https://www.openwall.com/lists/oss-security/2023/07/05/2 No Types Assigned https://www.openwall.com/lists/oss-security/2023/07/05/2 Mailing List
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.9.0:rc1:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 05, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/05/2 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-31248 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-31248 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.54 }} -0.43%

score

0.64844

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability