CVE-2021-38166
Linux Kernel BPF Hashtab Integer Overflow
Description
In kernel/bpf/hashtab.c in the Linux kernel through 5.13.8, there is an integer overflow and out-of-bounds write when many elements are placed in a single bucket. NOTE: exploitation might be impractical without the CAP_SYS_ADMIN capability.
INFO
Published Date :
Aug. 7, 2021, 6:15 p.m.
Last Modified :
Nov. 7, 2023, 3:37 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Affected Products
The following products are affected by CVE-2021-38166
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
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-38166
.
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).
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-38166
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-38166
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 -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lore.kernel.org/bpf/20210806150419.109658-1-th.yasumatsu%40gmail.com/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/ [No types assigned] Removed Reference MITRE https://lore.kernel.org/bpf/[email protected]/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/ -
Modified Analysis by [email protected]
Apr. 01, 2022
Action Type Old Value New Value Changed Reference Type https://www.debian.org/security/2021/dsa-4978 No Types Assigned https://www.debian.org/security/2021/dsa-4978 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 25, 2021
Action Type Old Value New Value Added Reference https://www.debian.org/security/2021/dsa-4978 [No Types Assigned] -
Modified Analysis by [email protected]
Sep. 21, 2021
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/ Mailing List, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20210909-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20210909-0001/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 09, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20210909-0001/ [No Types Assigned] -
CVE Modified by [email protected]
Aug. 18, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/UL6CH5M5PRLMA3KPBX4LPUO6Z73GRISO/ [No Types Assigned] Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/GUVLBJKZMWA3E3YXSH4SZ7BOYGJP4GXP/ [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 14, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6 No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c4eb1f403243fc7bbb7de644db8587c03de36da6 Patch, Vendor Advisory Changed Reference Type https://lore.kernel.org/bpf/[email protected]/ No Types Assigned https://lore.kernel.org/bpf/[email protected]/ Patch, Vendor Advisory Added CWE NIST CWE-787 Added CWE NIST CWE-190 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 5.13.8
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-38166
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-38166
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.12065
percentile