CVE & CISA-KEV Catalog

CVE-2021-31440

HIGHEPSS 75th pctl
7.0
CVSS v3
NVD

Description

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs prior to executing them. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-13661.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.38-1CVE-2021-31440
Fixed in:5.10.38-1CVE-2021-31440
Fixed in:5.10.38-1CVE-2021-31440
Fixed in:5.10.38-1CVE-2021-31440
linux-aws-5.8Ubuntu
Fixed in:5.8.0-1038.40~20.04.1USN-4999-1
linux-azure-5.8Ubuntu
Fixed in:5.8.0-1036.38~20.04.1USN-4999-1
linux-gcp-5.8Ubuntu
Fixed in:5.8.0-1035.37~20.04.1USN-4999-1
linux-hwe-5.8Ubuntu
Fixed in:5.8.0-59.66~20.04.1USN-4999-1
linux-image-5.10.0-1033-oemUbuntu
Fixed in:5.10.0-1033.34USN-5001-1
linux-image-5.8.0-1033-oracleUbuntu
Fixed in:5.8.0-1033.34~20.04.1USN-4999-1
linux-image-5.8.0-1035-gcpUbuntu
Fixed in:5.8.0-1035.37~20.04.1USN-4999-1
linux-image-5.8.0-1036-azureUbuntu
Fixed in:5.8.0-1036.38~20.04.1USN-4999-1
linux-image-5.8.0-1038-awsUbuntu
Fixed in:5.8.0-1038.40~20.04.1USN-4999-1
linux-image-5.8.0-59-genericUbuntu
Fixed in:5.8.0-59.66~20.04.1USN-4999-1
linux-image-5.8.0-59-generic-64kUbuntu
Fixed in:5.8.0-59.66~20.04.1USN-4999-1
linux-image-5.8.0-59-generic-lpaeUbuntu
Fixed in:5.8.0-59.66~20.04.1USN-4999-1
linux-image-5.8.0-59-lowlatencyUbuntu
Fixed in:5.8.0-59.66~20.04.1USN-4999-1
linux-image-awsUbuntu
Fixed in:5.8.0.1038.40~20.04.11USN-4999-1
linux-image-azureUbuntu
Fixed in:5.8.0.1036.38~20.04.8USN-4999-1
linux-image-gcpUbuntu
Fixed in:5.8.0.1035.37~20.04.9USN-4999-1
linux-image-generic-64k-hwe-20.04Ubuntu
Fixed in:5.8.0.59.66~20.04.42USN-4999-1
linux-image-generic-hwe-20.04Ubuntu
Fixed in:5.8.0.59.66~20.04.42USN-4999-1
linux-image-generic-lpae-hwe-20.04Ubuntu
Fixed in:5.8.0.59.66~20.04.42USN-4999-1
linux-image-lowlatency-hwe-20.04Ubuntu
Fixed in:5.8.0.59.66~20.04.42USN-4999-1
linux-image-oem-20.04Ubuntu
Fixed in:5.10.0.1033.34USN-5001-1
linux-image-oem-20.04bUbuntu
Fixed in:5.10.0.1033.34USN-5001-1
linux-image-oracleUbuntu
Fixed in:5.8.0.1033.34~20.04.9USN-4999-1
linux-image-virtual-hwe-20.04Ubuntu
Fixed in:5.8.0.59.66~20.04.42USN-4999-1
linux-oem-5.10Ubuntu
Fixed in:5.10.0-1033.34USN-5001-1
linux-oracle-5.8Ubuntu
Fixed in:5.8.0-1033.34~20.04.1USN-4999-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.75%probability of exploitation in 30 days
75thpercentile

Elevated risk: more likely to be exploited than 75% of all known CVEs.

References

Embed a live status badge for CVE-2021-31440
CVE-2021-31440 severity badge

Markdown

[![CVE-2021-31440](https://tridentstack.com/cve/badge/CVE-2021-31440.svg)](https://tridentstack.com/cve/CVE-2021-31440)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-31440"><img src="https://tridentstack.com/cve/badge/CVE-2021-31440.svg" alt="CVE-2021-31440"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.