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.
References
| Link | Resource |
|---|---|
| https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6 | Mailing List Patch Vendor Advisory |
| https://www.openwall.com/lists/oss-security/2022/07/02/3 | Exploit Mailing List Third Party Advisory |
| https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452@randorisec.fr/T/#u | Exploit Mailing List Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2022/07/05/1 | Exploit Mailing List Third Party Advisory |
| https://www.randorisec.fr/crack-linux-firewall/ | |
| https://www.debian.org/security/2022/dsa-5191 |
Configurations
Information
Published : 2022-07-04 21:15
Updated : 2022-07-27 11:15
NVD link : CVE-2022-34918
Mitre link : CVE-2022-34918
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-843
Access of Resource Using Incompatible Type ('Type Confusion')
