CVE-2021-3490
Linux eBPF ALU32 Bitwise Operations Arbitrary Code Execution Vulnerability
Description
The eBPF ALU32 bounds tracking for bitwise ops (AND, OR and XOR) in the Linux kernel did not properly update 32-bit bounds, which could be turned into out of bounds reads and writes in the Linux kernel and therefore, arbitrary code execution. This issue was fixed via commit 049c4e13714e ("bpf: Fix alu32 const subreg bound tracking on bitwise operations") (v5.13-rc4) and backported to the stable kernels in v5.12.4, v5.11.21, and v5.10.37. The AND/OR issues were introduced by commit 3f50f132d840 ("bpf: Verifier, do explicit ALU32 bounds tracking") (5.7-rc1) and the XOR variant was introduced by 2921c90d4718 ("bpf:Fix a verifier failure with xor") ( 5.10-rc1).
INFO
Published Date :
June 4, 2021, 2:15 a.m.
Last Modified :
Sept. 14, 2021, 2:31 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2021-3490 has a 30 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-3490
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/164015/Linux-eBPF-ALU32-32-bit-Invalid-Bounds-Tracking-Local-Privilege-Escalation.html | Exploit Third Party Advisory VDB Entry |
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=049c4e13714ecbca567b4d5f6d563f05d431c80e | Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20210716-0004/ | Third Party Advisory |
https://ubuntu.com/security/notices/USN-4949-1 | Third Party Advisory |
https://ubuntu.com/security/notices/USN-4950-1 | Third Party Advisory |
https://www.openwall.com/lists/oss-security/2021/05/11/11 | Mailing List Patch Third Party Advisory |
https://www.zerodayinitiative.com/advisories/ZDI-21-606/ | Third Party Advisory VDB Entry |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
C Shell Python Assembly Ruby Makefile Meson
Auto Root / Privilege Escalation Exploit
autoroot privilege privilege-escalation root
Shell
None
Makefile Shell C Assembly Python
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
Aplikasi untuk privilege escalation secara otomatis pada target linux
Shell Makefile C Python Assembly
None
渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms
Assembly Python Shell PHP C++ C Go Ruby HTML Java
一些cve复现环境
Shell C
Linux & Android Kernel Vulnerability research and exploitation
exploitation kernel-bypass kernel-exploitation kernel-security linux linux-kernel-hacking pwn vulnerability-research lpe privilege-escalation privilege-escalation-exploits
Linux privilege escalation exploits collection.
C Shell Python Assembly Ruby Makefile Meson
None
None
C
None
None
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-3490
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-3490
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Sep. 14, 2021
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/164015/Linux-eBPF-ALU32-32-bit-Invalid-Bounds-Tracking-Local-Privilege-Escalation.html No Types Assigned http://packetstormsecurity.com/files/164015/Linux-eBPF-ALU32-32-bit-Invalid-Bounds-Tracking-Local-Privilege-Escalation.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type https://security.netapp.com/advisory/ntap-20210716-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20210716-0004/ Third Party Advisory -
CVE Modified by [email protected]
Sep. 01, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/164015/Linux-eBPF-ALU32-32-bit-Invalid-Bounds-Tracking-Local-Privilege-Escalation.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 16, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20210716-0004/ [No Types Assigned] -
Reanalysis by [email protected]
Jun. 14, 2021
Action Type Old Value New Value Removed CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
Initial Analysis by [email protected]
Jun. 11, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=049c4e13714ecbca567b4d5f6d563f05d431c80e No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=049c4e13714ecbca567b4d5f6d563f05d431c80e Patch, Vendor Advisory Changed Reference Type https://ubuntu.com/security/notices/USN-4949-1 No Types Assigned https://ubuntu.com/security/notices/USN-4949-1 Third Party Advisory Changed Reference Type https://ubuntu.com/security/notices/USN-4950-1 No Types Assigned https://ubuntu.com/security/notices/USN-4950-1 Third Party Advisory Changed Reference Type https://www.openwall.com/lists/oss-security/2021/05/11/11 No Types Assigned https://www.openwall.com/lists/oss-security/2021/05/11/11 Mailing List, Patch, Third Party Advisory Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-21-606/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-21-606/ Third Party Advisory, VDB Entry Added CWE NIST CWE-787 Added CWE NIST CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 5.10.37 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.11.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12 up to (excluding) 5.12.4 *cpe:2.3:o:linux:linux_kernel:5.13:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-3490
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-3490
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.20 }} 0.00%
score
0.55703
percentile