CVE-2022-34918
Linux Kernel NFT Set Element Type Confusion Buffer Overflow
Description
An issue was discovered in the Linux kernel through 5.18.9. A type confusion bug in nft_set_elem_init (leading to a buffer overflow) could be used by a local attacker to escalate privileges, a different vulnerability than CVE-2022-32250. (The attacker can obtain root access, but must start with an unprivileged user namespace to obtain CAP_NET_ADMIN access.) This can be fixed in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.
INFO
Published Date :
July 4, 2022, 9:15 p.m.
Last Modified :
Nov. 7, 2023, 3:48 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2022-34918 has a 46 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-2022-34918
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.
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-34918
.
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).
This repository is designed to provide a comprehensive collection of study materials, notes, and resources for the Offensive Security Certified Professional (OSCP) exam. It covers all key topics from basic to advanced, helping aspiring penetration testers to prepare efficiently for the exam.
cybersecurity hacking oscp oscp-guide oscp-journey oscp-prep
None
Python C Shell PHP PowerShell ASP.NET
None
C Shell Python Assembly Ruby Makefile Meson
Auto Root / Privilege Escalation Exploit
autoroot privilege privilege-escalation root
Shell
Latest CVEs with their Proof of Concept exploits.
Python
OSCP and stuffs
None
Python C Shell
rapport pentest d'un site web de gestion de secrets
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
OffSec Certified Professional Certification (OSCP).
oscp oscp-cheatsheet oscp-guide oscp-journey oscp-prep oscp-tools offsec-certified-professional-certification offensive-security offensivesecurity awesome-list awesome-lists cheatsheet offensive-ops
Oscp-notes
渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms
Assembly Python Shell PHP C++ C Go Ruby HTML Java
This is one exploit to kernel linux
Makefile C
None
Python C Shell
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-34918
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-34918
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 [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://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u [No types assigned] Removed Reference MITRE https://lore.kernel.org/netfilter-devel/[email protected]/T/#u -
Reanalysis by [email protected]
Sep. 12, 2023
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.1 up to (excluding) 5.10.130 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.54 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.18.11 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.1 up to (excluding) 4.14.316 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.284 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.244 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.130 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.54 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.18.11 -
Reanalysis by [email protected]
May. 16, 2023
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html Third Party Advisory http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html Exploit, Third Party Advisory http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.8.0 up to (including) 5.18.9 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.1 up to (excluding) 5.10.130 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.54 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.18.11 -
Modified Analysis by [email protected]
Oct. 26, 2022
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html No Types Assigned http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html Third Party Advisory Changed Reference Type http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html Exploit, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2022/08/06/5 No Types Assigned http://www.openwall.com/lists/oss-security/2022/08/06/5 Mailing List, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20220826-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20220826-0004/ Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5191 No Types Assigned https://www.debian.org/security/2022/dsa-5191 Third Party Advisory Changed Reference Type https://www.randorisec.fr/crack-linux-firewall/ No Types Assigned https://www.randorisec.fr/crack-linux-firewall/ Exploit, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *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:*:*:* 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. 28, 2022
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 30, 2022
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 26, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220826-0004/ [No Types Assigned] -
CVE Modified by [email protected]
Aug. 06, 2022
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/08/06/5 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 27, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5191 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 21, 2022
Action Type Old Value New Value Added Reference https://www.randorisec.fr/crack-linux-firewall/ [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 13, 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/07/05/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/07/05/1 Exploit, Mailing List, Third Party Advisory Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6 No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6 Mailing List, Patch, Vendor Advisory Changed Reference Type https://lore.kernel.org/netfilter-devel/[email protected]/T/#u No Types Assigned https://lore.kernel.org/netfilter-devel/[email protected]/T/#u Exploit, Mailing List, Vendor Advisory Changed Reference Type https://www.openwall.com/lists/oss-security/2022/07/02/3 No Types Assigned https://www.openwall.com/lists/oss-security/2022/07/02/3 Exploit, Mailing List, Third Party Advisory Added CWE NIST CWE-843 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.8.0 up to (including) 5.18.9 -
CVE Modified by [email protected]
Jul. 05, 2022
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/07/05/1 [No Types Assigned]
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-34918
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-34918
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.64 }} -0.05%
score
0.79099
percentile