Vulnerability · Published Oct 4, 2023 · Assigned by redhat

CVE-2023-39191Kernel: ebpf: insufficient stack type checks in dynptr

High 8.2

In plain English

A high-severity improper input validation in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.5%top 54.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An improper input validation flaw was found in the eBPF subsystem in the Linux kernel. The issue occurs due to a lack of proper validation of dynamic pointers within user-supplied eBPF programs prior to executing them. This may allow an attacker with CAP_BPF privileges to escalate privileges and execute arbitrary code in the context of the kernel.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linuxno fix listedDEBIAN-CVE-2023-39191
Debian:13linux6.3.7-1DEBIAN-CVE-2023-39191
Debian:14linux6.3.7-1DEBIAN-CVE-2023-39191
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-39191
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2023-39191

Affected products (as reported)

Weakness: CWE-20 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References