Linux Kernel up to 4.13.7 console.c usb_serial_console_disconnect use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in Linux Kernel up to 4.13.7. This affects the function usb_serial_console_disconnect of the file drivers/usb/serial/console.c. The manipulation results in use after free.
This vulnerability was named CVE-2017-16525. The attack needs to be approached locally. There is no available exploit.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as critical, was found in Linux Kernel up to 4.13.7 (Operating System). Affected is the function usb_serial_console_disconnect of the file drivers/usb/serial/console.c. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
The usb_serial_console_disconnect function in drivers/usb/serial/console.c in the Linux kernel before 4.13.8 allows local users to cause a denial of service (use-after-free and system crash) or possibly have unspecified other impact via crafted system calls, related to disconnection and failed setup.
The bug was discovered 11/03/2017. The weakness was presented 11/04/2017 (Website). The advisory is shared for download at github.com. This vulnerability is traded as CVE-2017-16525 since 11/03/2017. The attack needs to be approached locally. The requirement for exploitation is a authentication. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 104716 (Ubuntu 16.04 LTS : linux, linux-aws, linux-gke, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities (USN-3485-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 276995 (Fedora Security Update for kernel (FEDORA-2017-31d7720d7e)).
Upgrading to version 4.13.8 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 (104716) and SecurityFocus (BID 102028†). See VDB-108731, VDB-109129, VDB-109130 and VDB-109131 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.6
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: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Yes
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: 104716
Nessus Name: Ubuntu 16.04 LTS : linux, linux-aws, linux-gke, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities (USN-3485-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 66142
OpenVAS Name: Ubuntu Update for linux USN-3485-1
OpenVAS File: 🔍
OpenVAS Family: 🔍
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.13.8
Patch: github.com
Timeline
10/04/2017 🔍11/03/2017 🔍
11/03/2017 🔍
11/03/2017 🔍
11/04/2017 🔍
11/04/2017 🔍
11/20/2017 🔍
11/21/2017 🔍
01/06/2023 🔍
Sources
Vendor: kernel.orgAdvisory: USN-3485-1
Researcher: Adam Mariš
Status: Not defined
CVE: CVE-2017-16525 (🔍)
GCVE (CVE): GCVE-0-2017-16525
GCVE (VulDB): GCVE-100-109128
SecurityFocus: 102028 - Linux Kernel 'drivers/usb/serial/console.c' Local Denial of Service Vulnerability
See also: 🔍
Entry
Created: 11/04/2017 16:26Updated: 01/06/2023 10:25
Changes: 11/04/2017 16:26 (79), 12/04/2019 14:04 (4), 01/23/2021 08:07 (2), 01/06/2023 10:15 (4), 01/06/2023 10:20 (1), 01/06/2023 10:25 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.