Linux Kernel up to 4.14.8 Sign Extension kernel/bpf/verifier.c check_alu_op memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in Linux Kernel up to 4.14.8. This affects the function check_alu_op of the file kernel/bpf/verifier.c of the component Sign Extension. The manipulation results in memory corruption.
This vulnerability is reported as CVE-2017-16995. The attack requires a local approach. Moreover, an exploit is present.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical has been found in Linux Kernel up to 4.14.8 (Operating System). Affected is the function check_alu_op of the file kernel/bpf/verifier.c of the component Sign Extension. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
The check_alu_op function in kernel/bpf/verifier.c in the Linux kernel through 4.14.8 allows local users to cause a denial of service (memory corruption) or possibly have unspecified other impact by leveraging incorrect sign extension.
The bug was discovered 12/18/2017. The weakness was disclosed 12/27/2017 (Website). The advisory is available at debian.org. This vulnerability is traded as CVE-2017-16995 since 11/27/2017. Local access is required to approach this attack. The successful exploitation needs a authentication. Technical details and a public exploit are known.
The exploit is shared for download at exploit-db.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 105433 (Debian DSA-4073-1 : linux - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197118 (Ubuntu Security Notification for Linux-euclid Vulnerability (USN-3633-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (44298), Tenable (105433) and SecurityFocus (BID 102288†). The entries VDB-110784, VDB-110931, VDB-110932 and VDB-110933 are pretty similar. If you want to get best quality of vulnerability data, you may have to visit VulDB.
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: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Highly functional
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 105433
Nessus Name: Debian DSA-4073-1 : linux - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 841624
OpenVAS Name: Ubuntu Update for linux USN-3523-1
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: bpf_sign_extension_priv_esc.rb
MetaSploit Name: Linux BPF Sign Extension Local Privilege Escalation
MetaSploit File: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Patch: git.kernel.org
Timeline
11/27/2017 🔍12/18/2017 🔍
12/22/2017 🔍
12/23/2017 🔍
12/26/2017 🔍
12/27/2017 🔍
12/27/2017 🔍
12/28/2017 🔍
12/26/2024 🔍
Sources
Vendor: kernel.orgAdvisory: usn-3523-2
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-16995 (🔍)
GCVE (CVE): GCVE-0-2017-16995
GCVE (VulDB): GCVE-100-111042
OVAL: 🔍
SecurityFocus: 102288 - Linux Kernel CVE-2017-16995 Local Memory Corruption Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 12/28/2017 09:31Updated: 12/26/2024 07:03
Changes: 12/28/2017 09:31 (78), 12/18/2019 08:23 (12), 01/28/2021 09:02 (2), 01/19/2023 08:15 (4), 01/19/2023 08:17 (2), 12/26/2024 07:03 (16)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.