Linux Kernel up to 4.10.0 net/ipv4/ip_sockglue.c ip_cmsg_recv_checksum out-of-bounds

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 4.10.0. It has been rated as critical. This impacts the function ip_cmsg_recv_checksum of the file net/ipv4/ip_sockglue.c. This manipulation causes out-of-bounds.
This vulnerability is tracked as CVE-2017-6347. The attack is restricted to local execution. No exploit exists.
Upgrading the affected component is advised.
Details
A vulnerability has been found in Linux Kernel up to 4.10.0 (Operating System) and classified as critical. Affected by this vulnerability is the function ip_cmsg_recv_checksum of the file net/ipv4/ip_sockglue.c. The manipulation with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The ip_cmsg_recv_checksum function in net/ipv4/ip_sockglue.c in the Linux kernel before 4.10.1 has incorrect expectations about skb data layout, which allows local users to cause a denial of service (buffer over-read) or possibly have unspecified other impact via crafted system calls, as demonstrated by use of the MSG_MORE flag in conjunction with loopback UDP transmission.
The bug was discovered 02/28/2017. The weakness was disclosed 03/01/2017 (oss-sec). It is possible to read the advisory at openwall.com. This vulnerability is known as CVE-2017-6347 since 02/26/2017. Attacking locally is a requirement. The successful exploitation requires a single authentication. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 97503 (Fedora 24 : kernel (2017-ad67543fc5)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350969 (Amazon Linux Security Advisory for kernel: ALAS-2017-811).
Upgrading to version 4.10.1 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. A possible mitigation has been published 1 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (97503) and SecurityFocus (BID 96487†). The entries VDB-97449, VDB-97448, VDB-97446 and VDB-97445 are pretty similar. 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: 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: Out-of-boundsCWE: CWE-125 / 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: 97503
Nessus Name: Fedora 24 : kernel (2017-ad67543fc5)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for kernel FEDORA-2017-d875ae8299
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.10.1
Patch: git.kernel.org
Timeline
02/26/2017 🔍02/28/2017 🔍
02/28/2017 🔍
03/01/2017 🔍
03/01/2017 🔍
03/02/2017 🔍
03/02/2017 🔍
03/03/2017 🔍
09/03/2020 🔍
Sources
Vendor: kernel.orgAdvisory: openwall.com
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-6347 (🔍)
GCVE (CVE): GCVE-0-2017-6347
GCVE (VulDB): GCVE-100-97447
SecurityFocus: 96487 - Linux Kernel CVE-2017-6347 Denial of Service Vulnerability
OSVDB: - CVE-2017-6347 - Linux - Denial of Service Issue
See also: 🔍
Entry
Created: 03/02/2017 09:28Updated: 09/03/2020 14:24
Changes: 03/02/2017 09:28 (82), 09/03/2020 14:24 (5)
Complete: 🔍
Cache ID: 216:AA1:103
No comments yet. Languages: en.
Please log in to comment.