Linux Kernel up to 4.17.3 uvesafb.c uvesafb_setcmap integer overflow

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in Linux Kernel up to 4.17.3. Affected by this issue is the function uvesafb_setcmap of the file drivers/video/fbdev/uvesafb.c. Executing a manipulation can lead to integer overflow.
The identification of this vulnerability is CVE-2018-13406. The attack can only be executed locally. There is no exploit available.
Upgrading the affected component is advised.
Details
A vulnerability classified as problematic was found in Linux Kernel up to 4.17.3 (Operating System). This vulnerability affects the function uvesafb_setcmap of the file drivers/video/fbdev/uvesafb.c. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
An integer overflow in the uvesafb_setcmap function in drivers/video/fbdev/uvesafb.c in the Linux kernel before 4.17.4 could result in local attackers being able to crash the kernel or potentially elevate privileges because kmalloc_array is not used.
The bug was discovered 06/12/2018. The weakness was shared 07/06/2018 (Website). The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2018-13406 since 07/06/2018. The attack needs to be approached locally. The successful exploitation requires a single authentication. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 24 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 111329 (SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2018:2051-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 171288 (SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2018:2051-1)).
Upgrading to version 4.17.4 eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (111329), SecurityFocus (BID 104685†) and SecurityTracker (ID 1041355†). The entries VDB-120162, VDB-120483, VDB-122312 and VDB-126498 are related to this item. 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: 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: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 111329
Nessus Name: SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2018:2051-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Kernel 4.17.4
Patch: git.kernel.org
Timeline
06/12/2018 🔍07/06/2018 🔍
07/06/2018 🔍
07/06/2018 🔍
07/06/2018 🔍
07/06/2018 🔍
07/20/2018 🔍
07/24/2018 🔍
07/25/2018 🔍
04/03/2023 🔍
Sources
Vendor: kernel.orgAdvisory: 9f645bcc566a1e9f921bdae7528a01ced5bc3713
Status: Confirmed
CVE: CVE-2018-13406 (🔍)
GCVE (CVE): GCVE-0-2018-13406
GCVE (VulDB): GCVE-100-120484
SecurityFocus: 104685 - Linux Kernel 'drivers/video/fbdev/uvesafb.c' Local Integer Overflow Vulnerability
SecurityTracker: 1041355
See also: 🔍
Entry
Created: 07/06/2018 22:05Updated: 04/03/2023 20:08
Changes: 07/06/2018 22:05 (79), 03/09/2020 10:29 (7), 04/03/2023 20:01 (5), 04/03/2023 20:08 (1)
Complete: 🔍
Cache ID: 216:5CF:103
No comments yet. Languages: en.
Please log in to comment.