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.
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Canonical / Ubuntu Linux22.04 – 22.04
- Canonical / Ubuntu Linux14.04 – 14.04
- Canonical / Ubuntu Linux16.04 – 16.04
- Canonical / Ubuntu Linux18.04 – 18.04
- Canonical / Ubuntu Linux20.04 – 20.04
- Debian / debian_linux11.0 – 11.0
- Linux / Linux kernel4.1 – 4.14.316
- NetApp / h300s_firmware
- NetApp / h410c_firmware
- NetApp / h410s_firmware
- NetApp / h500s_firmware
- NetApp / h700s_firmware
References
- MISChttps://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6
- MISChttps://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u
- MAILING_LISThttps://www.openwall.com/lists/oss-security/2022/07/02/3
- MAILING_LISThttp://www.openwall.com/lists/oss-security/2022/07/05/1
- MISChttps://www.randorisec.fr/crack-linux-firewall/
- VENDOR_ADVISORYhttps://www.debian.org/security/2022/dsa-5191
- MAILING_LISThttp://www.openwall.com/lists/oss-security/2022/08/06/5
- MISChttps://security.netapp.com/advisory/ntap-20220826-0004/
- EXPLOIThttp://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html
- EXPLOIThttp://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html
Updated 15m ago · 8 sources