CVE-2022-34918
Last modified
CVE-2022-34918 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 5.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.1, < 4.14.316 |
| Linux | Linux Kernel | >= 4.15, < 4.19.284 |
| Linux | Linux Kernel | >= 4.20, < 5.4.244 |
| Linux | Linux Kernel | >= 5.5, < 5.10.130 |
| Linux | Linux Kernel | >= 5.11, < 5.15.54 |
| Linux | Linux Kernel | >= 5.16, < 5.18.11 |
| Debian | Debian Linux | 11.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 20.04 |
| Canonical | Ubuntu Linux | 22.04 |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | H410c Firmware | All versions |
References
- http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2022/07/05/1Exploit, Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/08/06/5Mailing List, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6Mailing List, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220826-0004/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5191Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/07/02/3Exploit, Mailing List, Third Party Advisory
- https://www.randorisec.fr/crack-linux-firewall/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2022/07/05/1Exploit, Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/08/06/5Mailing List, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6Mailing List, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220826-0004/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5191Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/07/02/3Exploit, Mailing List, Third Party Advisory
- https://www.randorisec.fr/crack-linux-firewall/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-34918?
How severe is CVE-2022-34918?
How do I fix CVE-2022-34918?
Are you affected by CVE-2022-34918?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
