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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.018 (77.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000
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
- www.zerodayinitiative.com/advisories/ZDI-21-503/ (VDB Entry, Third Party Advisory)
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Vendor Advisory)
- security.netapp.com/advisory/ntap-20210706-0003/ (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.