CVE-2022-34918

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
http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2022/07/05/1 Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/08/06/5 Mailing List Third Party Advisory
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6 Mailing List Patch Vendor Advisory
https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u
https://security.netapp.com/advisory/ntap-20220826-0004/ Third Party Advisory
https://www.debian.org/security/2022/dsa-5191 Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/07/02/3 Exploit 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.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2022/07/05/1 Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/08/06/5 Mailing List Third Party Advisory
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6 Mailing List Patch Vendor Advisory
https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u
https://security.netapp.com/advisory/ntap-20220826-0004/ Third Party Advisory
https://www.debian.org/security/2022/dsa-5191 Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/07/02/3 Exploit Mailing List Third Party Advisory
https://www.randorisec.fr/crack-linux-firewall/ Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

Configuration 3 (hide)

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:*:*:*

Configuration 4 (hide)

AND
cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:*

Configuration 5 (hide)

AND
cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:*

Configuration 6 (hide)

AND
cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:*

Configuration 7 (hide)

AND
cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:*

Configuration 8 (hide)

AND
cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:*

History

21 Nov 2024, 07:10

Type Values Removed Values Added
References () http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html - Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html - Third Party Advisory, VDB Entry
References () http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html - Exploit, Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html - Exploit, Third Party Advisory, VDB Entry
References () http://www.openwall.com/lists/oss-security/2022/07/05/1 - Exploit, Mailing List, Third Party Advisory () http://www.openwall.com/lists/oss-security/2022/07/05/1 - Exploit, Mailing List, Third Party Advisory
References () http://www.openwall.com/lists/oss-security/2022/08/06/5 - Mailing List, Third Party Advisory () http://www.openwall.com/lists/oss-security/2022/08/06/5 - Mailing List, Third Party Advisory
References () https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6 - Mailing List, Patch, Vendor Advisory () https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6 - Mailing List, Patch, Vendor Advisory
References () https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u - () https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u -
References () https://security.netapp.com/advisory/ntap-20220826-0004/ - Third Party Advisory () https://security.netapp.com/advisory/ntap-20220826-0004/ - Third Party Advisory
References () https://www.debian.org/security/2022/dsa-5191 - Third Party Advisory () https://www.debian.org/security/2022/dsa-5191 - Third Party Advisory
References () https://www.openwall.com/lists/oss-security/2022/07/02/3 - Exploit, Mailing List, Third Party Advisory () https://www.openwall.com/lists/oss-security/2022/07/02/3 - Exploit, Mailing List, Third Party Advisory
References () https://www.randorisec.fr/crack-linux-firewall/ - Exploit, Third Party Advisory () https://www.randorisec.fr/crack-linux-firewall/ - Exploit, Third Party Advisory

07 Nov 2023, 03:48

Type Values Removed Values Added
References
  • {'url': 'https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452@randorisec.fr/T/#u', 'name': 'https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452@randorisec.fr/T/#u', 'tags': ['Exploit', 'Mailing List', 'Vendor Advisory'], 'refsource': 'MISC'}
  • () https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u -

Information

Published : 2022-07-04 21:15

Updated : 2024-11-21 07:10


NVD link : CVE-2022-34918

Mitre link : CVE-2022-34918

CVE.ORG link : CVE-2022-34918


JSON object : View

Products Affected

netapp

  • h500s_firmware
  • h410s_firmware
  • h410c_firmware
  • h700s
  • h410c
  • h300s
  • h300s_firmware
  • h700s_firmware
  • h500s
  • h410s

debian

  • debian_linux

linux

  • linux_kernel

canonical

  • ubuntu_linux
CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')