VDB
CVE-2023-31248
CVE-2023-31248
PUBLISHED
CVSS 7.8 HIGH
Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability
Reported by canonical · Published July 5, 2023
Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability; `nft_chain_lookup_byid()` failed to check whether a chain was active and CAP_NET_ADMIN is in any user or network namespace
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.1.38-59.109 | Amazon Linux | 1.0-0.amzn2023 |
| perf | Amazon Linux | 6.1.38-59.109.amzn2023 |
| linux_kernel | linux | 6.4.4, 6.1.39, 5.15.121, 5.10.188 |
Risk scores
CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | v5.9-rc1 |
| amazon:2023 | kernel-livepatch-6.1.38-59.109 | 0 |
| amazon:2023 | perf | 0 |
| Linux | Linux Kernel | 5.9-rc1 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
Timeline
- Jul 5, 2023 CVE Published
- Jul 6, 2023 EPSS Score (30 in total, the first dated here)
- Feb 4, 2024 VulnCheck XDB Entry (16 in total, the first dated here)
- Dec 6, 2024 VulnCheck KEV Exploitation (5 in total, the first dated here)
- Mar 5, 2025 CVE Updated
- Oct 12, 2025 PoC Published (7 in total, the first dated here)
- Feb 16, 2026 Distribution Patch (58 in total, the first dated here)
- Feb 16, 2026 Security Advisory (67 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-31248
vulnetix vdb fixes CVE-2023-31248
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-2023-31248/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart