Vulnerability · Published Jul 4, 2022 · Assigned by mitre

CVE-2022-34918

High 7.8

In plain English

A high-severity security flaw in the bpftool package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.5% (higher than 93% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.8High
Exploit odds (30 days)5.5%top 7.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling2Metasploit, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9bpftool5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-abi-stablelists5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-core5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-cross-headers5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-debug5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-debug-core5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-debug-devel5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-debug-devel-matched5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-debug-modules5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-debug-modules-extra5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-devel5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-devel-matched5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-doc5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-modules5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-modules-extra5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-rt5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-core5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-debug5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-debug-core5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-debug-devel5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-debug-kvm5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-debug-modules5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-debug-modules-extra5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-devel5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-kvm5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-modules5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-rt-modules-extra5.14.0-70.26.1.rt21.98.el9_0ALSA-2022:6582
AlmaLinux:9kernel-tools5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-tools-libs5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-tools-libs-devel5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-zfcpdump5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-zfcpdump-core5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-zfcpdump-devel5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-zfcpdump-devel-matched5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-zfcpdump-modules5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9kernel-zfcpdump-modules-extra5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9perf5.14.0-70.26.1.el9_0ALSA-2022:6610
AlmaLinux:9python3-perf5.14.0-70.26.1.el9_0ALSA-2022:6610
Debian:12linux5.18.14-1DEBIAN-CVE-2022-34918
Debian:13linux5.18.14-1DEBIAN-CVE-2022-34918
Debian:14linux5.18.14-1DEBIAN-CVE-2022-34918
Ubuntu:22.04:LTSlinux5.15.0-43.46UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux5.15.0-43.46USN-5544-1
Ubuntu:22.04:LTSlinux-aws5.15.0-1017.21USN-5566-1
Ubuntu:22.04:LTSlinux-aws5.15.0-1017.21UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-azure5.15.0-1017.20UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-azure5.15.0-1017.20USN-5566-1
Ubuntu:22.04:LTSlinux-gcp5.15.0-1016.21USN-5566-1
Ubuntu:22.04:LTSlinux-gcp5.15.0-1016.21UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-gke5.15.0-1014.17UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-gke5.15.0-1014.17USN-5566-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1002.4UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-ibm5.15.0-1012.14USN-5566-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1012.14UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1013.17USN-5564-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1013.17UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-kvm5.15.0-1016.19USN-5566-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1016.19UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-43.46USN-5544-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-43.46UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1014.15USN-5545-1
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1014.15UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-oracle5.15.0-1016.20USN-5566-1
Ubuntu:22.04:LTSlinux-oracle5.15.0-1016.20UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-raspi5.15.0-1013.15UBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-raspi5.15.0-1013.15USN-5566-1
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2022-34918
Ubuntu:22.04:LTSlinux-riscv5.15.0-1016.18UBUNTU-CVE-2022-34918

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References