CVE-2022-32250
Linux Netfilter NFT_STATEFUL_EXPR Use-After-Free Privilege Escalation
Description
net/netfilter/nf_tables_api.c in the Linux kernel through 5.18.1 allows a local user (able to create user/net namespaces) to escalate privileges to root because an incorrect NFT_STATEFUL_EXPR check leads to a use-after-free.
INFO
Published Date :
June 2, 2022, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 7:06 a.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2022-32250
                                            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.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update the Linux kernel packages.
- Reboot the system after the update.
Public PoC/Exploit Available at Github
                                            CVE-2022-32250 has a 42 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
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-2022-32250.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2022-32250 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-2022-32250
            weaknesses.
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).
None
Forked from https://github.com/0xor0ne/awesome-list.git
Forked from https://github.com/0xor0ne/awesome-list.git
None
C Shell Python Ruby Makefile HTML Linker Script Batchfile Perl
None
Shell
None
None
C
Exploit of CVE-2022-32250
exploit cve-2022-32250
Dockerfile Makefile C Just Shell
None
None
Makefile C Shell
Reproduce CVE-2022-32250 and CVE-2025-21756 by tampering with modprobe_path and hijacking control flow, respectively.
Makefile Roff Linker Script C Assembly Shell Perl C++ Awk Python
This tool is based on the openKylin operating system and is used to conduct baseline checks and vulnerability scans on the operating system, as well as perform corresponding repair work. Additionally, it is integrated with an AI large language model.
flask operating-system vue
Shell Python Jupyter Notebook C Makefile Meson Batchfile Perl JavaScript HTML
None
HTML Python Shell
None
Makefile C
None
Makefile Shell C
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2022-32250 vulnerability anywhere in the article.
		
 
									- 
                                                            
                                                                Daily CyberSecurity 
Major npm Supply Chain Attack: Phishing Campaign Steals Maintainer Credentials, Injects Malware into Popular Packages
Image: Socket A deceptive and highly targeted phishing campaign has successfully compromised several popular npm packages, including eslint-config-prettier, eslint-plugin-prettier, and synckit, after ... Read more
 
									- 
                                                            
                                                                Cybersecurity News 
11 Russian Linux Kernel Developers Lose Maintainer Status Due to “Compliance Requirements”
The Linux kernel community is buzzing with controversy following the removal of 11 developers, primarily associated with Russian companies, from the list of subsystem maintainers. Greg Kroah-Hartman, ... Read more
                The following table lists the changes that have been made to the
                CVE-2022-32250 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-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/06/03/1 Added Reference http://www.openwall.com/lists/oss-security/2022/06/04/1 Added Reference http://www.openwall.com/lists/oss-security/2022/06/20/1 Added Reference http://www.openwall.com/lists/oss-security/2022/07/03/5 Added Reference http://www.openwall.com/lists/oss-security/2022/07/03/6 Added Reference http://www.openwall.com/lists/oss-security/2022/08/25/1 Added Reference http://www.openwall.com/lists/oss-security/2022/09/02/9 Added Reference https://blog.theori.io/research/CVE-2022-32250-linux-kernel-lpe-2022/ Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2092427 Added Reference https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/net/netfilter?id=520778042ccca019f3ffa136dd0ca565c486cedd Added Reference https://github.com/theori-io/CVE-2022-32250-exploit Added Reference https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO6Y3TC4WUUNKRP7OQA26OVTZTPCS6F2/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIZTJOJCVVEJVOQSCHE6IJQKMPISHQ5L/ Added Reference https://security.netapp.com/advisory/ntap-20220715-0005/ Added Reference https://www.debian.org/security/2022/dsa-5161 Added Reference https://www.debian.org/security/2022/dsa-5173 Added Reference https://www.openwall.com/lists/oss-security/2022/05/31/1 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Nov. 07, 2023 Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO6Y3TC4WUUNKRP7OQA26OVTZTPCS6F2/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIZTJOJCVVEJVOQSCHE6IJQKMPISHQ5L/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/UIZTJOJCVVEJVOQSCHE6IJQKMPISHQ5L/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/MO6Y3TC4WUUNKRP7OQA26OVTZTPCS6F2/ 
- 
                            Reanalysis by [email protected]May. 16, 2023 Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 5.18.1 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.1 up to (excluding) 4.9.318 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.283 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.247 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.198 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.120 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.45 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.17.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.18 up to (excluding) 5.18.2 
- 
                            Modified Analysis by [email protected]Sep. 09, 2022 Action Type Old Value New Value Changed Reference Type http://www.openwall.com/lists/oss-security/2022/06/20/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/06/20/1 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2022/07/03/5 No Types Assigned http://www.openwall.com/lists/oss-security/2022/07/03/5 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2022/07/03/6 No Types Assigned http://www.openwall.com/lists/oss-security/2022/07/03/6 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2022/08/25/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/08/25/1 Mailing List, Patch, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2022/09/02/9 No Types Assigned http://www.openwall.com/lists/oss-security/2022/09/02/9 Mailing List, Third Party Advisory Changed Reference Type https://blog.theori.io/research/CVE-2022-32250-linux-kernel-lpe-2022/ No Types Assigned https://blog.theori.io/research/CVE-2022-32250-linux-kernel-lpe-2022/ Exploit, Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2092427 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2092427 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/theori-io/CVE-2022-32250-exploit No Types Assigned https://github.com/theori-io/CVE-2022-32250-exploit Exploit, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MO6Y3TC4WUUNKRP7OQA26OVTZTPCS6F2/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MO6Y3TC4WUUNKRP7OQA26OVTZTPCS6F2/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/UIZTJOJCVVEJVOQSCHE6IJQKMPISHQ5L/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/UIZTJOJCVVEJVOQSCHE6IJQKMPISHQ5L/ Mailing List, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20220715-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20220715-0005/ Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5161 No Types Assigned https://www.debian.org/security/2022/dsa-5161 Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5173 No Types Assigned https://www.debian.org/security/2022/dsa-5173 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Sep. 02, 2022 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/09/02/9 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Aug. 25, 2022 Action Type Old Value New Value Added Reference https://github.com/theori-io/CVE-2022-32250-exploit [No Types Assigned] Added Reference https://blog.theori.io/research/CVE-2022-32250-linux-kernel-lpe-2022/ [No Types Assigned] 
- 
                            CVE Modified by [email protected]Aug. 25, 2022 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/08/25/1 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jul. 15, 2022 Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220715-0005/ [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jul. 04, 2022 Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5173 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jul. 03, 2022 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/07/03/6 [No Types Assigned] Added Reference http://www.openwall.com/lists/oss-security/2022/07/03/5 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jul. 01, 2022 Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jun. 20, 2022 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/06/20/1 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jun. 20, 2022 Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5161 [No Types Assigned] Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/UIZTJOJCVVEJVOQSCHE6IJQKMPISHQ5L/ [No Types Assigned] Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2092427 [No Types Assigned] Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MO6Y3TC4WUUNKRP7OQA26OVTZTPCS6F2/ [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Jun. 12, 2022 Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C) 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/2022/06/03/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/06/03/1 Exploit, Mailing List, Patch, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2022/06/04/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/06/04/1 Mailing List, Patch, Third Party Advisory Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/net/netfilter?id=520778042ccca019f3ffa136dd0ca565c486cedd No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/net/netfilter?id=520778042ccca019f3ffa136dd0ca565c486cedd Mailing List, Patch, Vendor Advisory Changed Reference Type https://www.openwall.com/lists/oss-security/2022/05/31/1 No Types Assigned https://www.openwall.com/lists/oss-security/2022/05/31/1 Exploit, Mailing List, Patch, Third Party Advisory Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 5.18.1 
- 
                            CVE Modified by [email protected]Jun. 05, 2022 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/06/04/1 [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jun. 03, 2022 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/06/03/1 [No Types Assigned] 
Vulnerability Scoring Details
Base CVSS Score: 7.8
Base CVSS Score: 7.2
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.35 }} -0.75%
score
0.79432
percentile
 
                         
                         
                         
                                             
                                            