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.

PackageEcosystemFixed in
kernel-livepatch-6.1.38-59.109Amazon Linux1.0-0.amzn2023
perfAmazon Linux6.1.38-59.109.amzn2023
linux_kernellinux6.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

VendorProductVersions
LinuxLinux Kernelv5.9-rc1
amazon:2023kernel-livepatch-6.1.38-59.1090
amazon:2023perf0
LinuxLinux Kernel5.9-rc1
amazon:2023kernel-headers0
amazon:2023kernel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
amazon:2023kernel-tools0
amazon:2023bpftool0

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

References

  • issue-tracking
  • mailing-list
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›