CVE-2022-34918
Reported by mitre · Published July 4, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf | Amazon Linux | 6.1.10-15.42.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | python3-perf | 0 |
| n/a | n/a | * |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.10-15.42 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2 | kernel | 0 |
…and 3 more
Timeline
- Jul 4, 2022 CVE Published
- Jul 5, 2022 EPSS Score (30 in total, the first dated here)
- Jul 19, 2022 VulnCheck XDB Entry (5 in total, the first dated here)
- Sep 28, 2022 PoC Published (2 in total, the first dated here)
- Feb 26, 2025 VulnCheck KEV Exploitation
- Mar 21, 2026 Distribution Patch (14 in total, the first dated here)
- Mar 21, 2026 Security Advisory (16 in total, the first dated here)
- Jun 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-34918
vulnetix vdb fixes CVE-2022-34918
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-34918/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20220705 Re: Linux kernel: Netfilter heap buffer overflow in nft_set_elem_init mailing-listx_refsource_MLIST
- x_refsource_MISC
- DSA-5191 vendor-advisoryx_refsource_DEBIAN
- [oss-security] 20220806 Re: Linux kernel: Netfilter heap buffer overflow in nft_set_elem_init mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html url
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html url