Linux Kernel up to 4.14.10 net/core/net_namespace.c get_net_ns_by_id use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 4.14.10. It has been rated as critical. Impacted is the function get_net_ns_by_id of the file net/core/net_namespace.c. The manipulation leads to use after free.
This vulnerability is referenced as CVE-2017-15129. The attack can only be performed from a local environment. No exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability was found in Linux Kernel up to 4.14.10 (Operating System). It has been rated as critical. This issue affects the function get_net_ns_by_id of the file net/core/net_namespace.c. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11. The function get_net_ns_by_id() in net/core/net_namespace.c does not check for the net::count value after it has found a peer network in netns_ids idr, which could lead to double free and memory corruption. This vulnerability could allow an unprivileged local user to induce kernel memory corruption on the system, leading to a crash. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although it is thought to be unlikely.
The bug was discovered 12/20/2017. The weakness was published 01/09/2018 by Paul (Website). The advisory is shared at git.kernel.org. The identification of this vulnerability is CVE-2017-15129 since 10/08/2017. The exploitation is known to be easy. An attack has to be approached locally. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 20 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 106052 (Virtuozzo 7 : readykernel-patch (VZA-2018-004)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Virtuozzo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 236708 (Red Hat Update for kernel-alt (RHSA-2018:0654)).
Upgrading to version 4.14.11 eliminates this vulnerability. A possible mitigation has been published 3 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (106052) and SecurityFocus (BID 101264†). Similar entries are available at VDB-104316, VDB-107862, VDB-108798 and VDB-110307. Several companies clearly confirm that VulDB is the primary source for best 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: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
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: 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: 106052
Nessus Name: Virtuozzo 7 : readykernel-patch (VZA-2018-004)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 54529
OpenVAS Name: SuSE Update for Linux Kernel openSUSE-SU-2018:0408-1 (Linux Kernel)
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.14.11
Patch: git.kernel.org
Timeline
10/08/2017 🔍10/09/2017 🔍
12/20/2017 🔍
01/09/2018 🔍
01/09/2018 🔍
01/10/2018 🔍
01/12/2018 🔍
01/16/2018 🔍
01/20/2023 🔍
Sources
Vendor: kernel.orgAdvisory: RHSA-2018:0654
Researcher: Michael Ellerman, Gustavo Romero, Breno Leitao, Paul Mackerras, Cyril Bur. (Paul)
Status: Confirmed
CVE: CVE-2017-15129 (🔍)
GCVE (CVE): GCVE-0-2017-15129
GCVE (VulDB): GCVE-100-111545
SecurityFocus: 101264 - Linux Kernel CVE-2017-1000255 Local Memory Corruption Vulnerability
See also: 🔍
Entry
Created: 01/10/2018 14:13Updated: 01/20/2023 13:23
Changes: 01/10/2018 14:13 (79), 12/20/2019 19:18 (5), 01/29/2021 11:06 (2), 01/20/2023 13:23 (4)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.