VDB

CVE-2023-5197

CVE-2023-5197 PUBLISHED CVSS 7.8 HIGH

Use-after-free in Linux kernel's netfilter: nf_tables component

Reported by google · Published September 26, 2023

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. Addition and removal of rules from chain bindings within the same transaction causes leads to use-after-free. We recommend upgrading past commit f15f29fd4779be8a418b66e9d52979bb6d6c2325.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux6.1.56-82.125.amzn2023
kernel-develAmazon Linux6.1.56-82.125.amzn2023
kernel-livepatch-6.1.56-82.125Amazon Linux1.0-0.amzn2023
perfAmazon Linux6.1.56-82.125.amzn2023
kernel-libbpf-develAmazon Linux6.1.56-82.125.amzn2023
kernel-libbpfAmazon Linux6.1.56-82.125.amzn2023
python3-perfAmazon Linux6.1.56-82.125.amzn2023
kernelAmazon Linux6.1.56-82.125.amzn2023
kernel-libbpf-staticAmazon Linux6.1.56-82.125.amzn2023
kernel-modules-extraAmazon Linux6.1.56-82.125.amzn2023
kernel-toolsAmazon Linux6.1.56-82.125.amzn2023
bpftoolAmazon Linux6.1.56-82.125.amzn2023

4 more packages have a fixed version. See every fix in Lookup.

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
LinuxKernel5.9
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.1.56-82.1250
amazon:2023perf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
amazon:2023python3-perf0
amazon:2023kernel0
amazon:2023kernel-libbpf-static0
LinuxKernel5.9
amazon:2023kernel-modules-extra0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel-headers0

Timeline

  • Sep 26, 2023 CVE Published
  • Sep 27, 2023 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (19 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (38 in total, the first dated here)
  • Mar 21, 2026 Security Advisory (40 in total, the first dated here)
  • Nov 2, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-5197
vulnetix vdb fixes CVE-2023-5197

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-5197/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›