Linux Kernel up to 5.13.13 eBPF kernel/bpf/verifier.c check_map_func_compatibility type confusion

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in Linux Kernel up to 5.13.13. Affected by this vulnerability is the function check_map_func_compatibility of the file kernel/bpf/verifier.c of the component eBPF. Executing a manipulation can lead to type confusion.
This vulnerability is handled as CVE-2021-34866. The attack can be executed remotely. Additionally, an exploit exists.
You should upgrade the affected component.
Details
A vulnerability classified as critical was found in Linux Kernel up to 5.13.13 (Operating System). This vulnerability affects the function check_map_func_compatibility of the file kernel/bpf/verifier.c of the component eBPF. The manipulation with an unknown input leads to a type confusion vulnerability. The CWE definition for the vulnerability is CWE-843. The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was released 11/05/2021 by Ryota Shiga (@Ga_ryo_) with Flatt Security. The advisory is shared for download at blog.hexrabbit.io. This vulnerability was named CVE-2021-34866. Technical details and also a public exploit are known.
It is possible to download the exploit at github.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $5k-$25k.
Upgrading to version 5.13.14 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB Meta Temp Score: 6.5
VulDB Base Score: 7.2
VulDB Temp Score: 6.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Type confusionCWE: CWE-843
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 5.13.14
Patch: git.kernel.org
Timeline
06/17/2021 🔍11/05/2021 🔍
11/05/2021 🔍
11/09/2021 🔍
Sources
Vendor: kernel.orgAdvisory: blog.hexrabbit.io
Researcher: Ryota Shiga (@Ga_ryo_)
Organization: Flatt Security
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2021-34866 (🔍)
GCVE (CVE): GCVE-0-2021-34866
GCVE (VulDB): GCVE-100-186076
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 11/05/2021 01:00Updated: 11/09/2021 20:05
Changes: 11/05/2021 01:00 (44), 11/05/2021 01:01 (1), 11/05/2021 01:05 (6), 11/09/2021 20:05 (1)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.