Vulnerability in Linux Kernel
CVE-2021-31440
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.
EPSS: 0.018 (75.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
- WhatsWrongAndWhy/CVE-2021-31440
- Al1ex/LinuxEelvation
- ChoKyuWon/exploit_
- HaxorSecInfec/autoroot.sh
- JlSakuya/Linux-Privilege-Escalation-Exploits
- XiaozaYa/CVE-Recording
- a-roshbaik/Linux-Privilege-Escalation-Exploits
- adavarski/HomeLab-Proxmox-k8s-DevSecOps-playground
- ARPSyndicate/cvemon
- bsauce/kernel-exploit-factory
References
- zdi-disclosures@trendmicro.com (VDB Entry, Third Party Advisory, x_refsource_MISC)
- zdi-disclosures@trendmicro.com (Patch, x_refsource_MISC, Vendor Advisory)
- zdi-disclosures@trendmicro.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-31440?
- CVE-2021-31440 is a high-severity vulnerability in Linux Kernel, classified under Incorrect Calculation. CVSS score: 7.0/10. Published 2021-05-21.
- How severe is CVE-2021-31440?
- High severity. CVSS v3 base score is 7.0 out of 10.
- Is CVE-2021-31440 known to be exploited?
- 17 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.