{"uuid": "3208bedd-261a-4f30-aef7-330f9a1796cd", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-34918", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/netfilter_nft_set_elem_init_privesc.rb", "content": "{\"actions\": [], \"aliases\": [], \"arch\": \"x64\", \"author\": [\"Arthur Mongodin  (@_Aleknight_)&gt;\", \"Redouane NIBOUCHA \"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": true, \"default_credential\": false, \"description\": \"An issue was discovered in the Linux kernel through 5.18.9.\\n          A type confusion bug in nft_set_elem_init (leading to a buffer overflow)\\n          could be used by a local attacker to escalate privileges.\\n          The attacker can obtain root access, but must start with an unprivileged\\n          user namespace to obtain CAP_NET_ADMIN access.\\n          The issue exists in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.\", \"disclosure_date\": \"2022-02-07\", \"fullname\": \"exploit/linux/local/netfilter_nft_set_elem_init_privesc\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:57:34 +0000\", \"name\": \"Netfilter nft_set_elem_init Heap Overflow Privilege Escalation\", \"needs_cleanup\": true, \"notes\": {\"Reliability\": [\"unreliable-session\"], \"SideEffects\": [\"artifacts-on-disk\"], \"Stability\": [\"os-resource-loss\", \"crash-os-down\"]}, \"path\": \"/modules/exploits/linux/local/netfilter_nft_set_elem_init_privesc.rb\", \"platform\": \"Linux\", \"post_auth\": false, \"rank\": 200, \"ref_name\": \"linux/local/netfilter_nft_set_elem_init_privesc\", \"references\": [\"CVE-2022-34918\", \"URL-https://nvd.nist.gov/vuln/detail/CVE-2022-34918\", \"URL-https://ubuntu.com/security/CVE-2022-34918\", \"URL-https://www.randorisec.fr/crack-linux-firewall/\", \"URL-https://github.com/randorisec/CVE-2022-34918-LPE-PoC\"], \"rport\": null, \"session_types\": [\"meterpreter\", \"shell\"], \"targets\": [\"Auto\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:09.863603Z"}