GNU Patch up to 2.7.6 pch.c intuit_diff_type null pointer dereference

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GNU Patch up to 2.7.6. It has been rated as problematic. Affected is the function intuit_diff_type of the file pch.c. Performing a manipulation results in null pointer dereference.
This vulnerability is identified as CVE-2018-6951. The attack can be initiated remotely. There is not any exploit available.
Upgrading the affected component is advised.
Details
A vulnerability classified as problematic has been found in GNU Patch up to 2.7.6. This affects the function intuit_diff_type of the file pch.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability. The summary by CVE is:
An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer dereference, leading to a denial of service in the intuit_diff_type function in pch.c, aka a "mangled rename" issue.
The bug was discovered 02/12/2018. The weakness was released 02/13/2018 by Hanno Boeck (Website). It is possible to read the advisory at securityfocus.com. This vulnerability is uniquely identified as CVE-2018-6951 since 02/13/2018. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. 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 $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 106915 (Fedora 27 : patch (2018-b127e58641)), 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 197109 (Ubuntu Security Notification for Patch Vulnerabilities (USN-3624-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 1 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (106915) and SecurityFocus (BID 103044†). Entries connected to this vulnerability are available at VDB-113197, VDB-113212 and VDB-115900. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.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: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
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: 106915
Nessus Name: Fedora 27 : patch (2018-b127e58641)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 881203
OpenVAS Name: Fedora Update for patch FEDORA-2018-b127e58641
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: 🔍
Patch: git.savannah.gnu.org
Timeline
02/03/2018 🔍02/12/2018 🔍
02/13/2018 🔍
02/13/2018 🔍
02/13/2018 🔍
02/14/2018 🔍
02/20/2018 🔍
02/21/2018 🔍
02/06/2023 🔍
Sources
Vendor: gnu.orgAdvisory: FEDORA-2018-b127e58641⛔
Researcher: Hanno Boeck
Status: Confirmed
CVE: CVE-2018-6951 (🔍)
GCVE (CVE): GCVE-0-2018-6951
GCVE (VulDB): GCVE-100-113211
SecurityFocus: 103044 - GNU Patch 'src/pch.c' Denial of Service Vulnerability
See also: 🔍
Entry
Created: 02/14/2018 08:20Updated: 02/06/2023 15:28
Changes: 02/14/2018 08:20 (75), 07/29/2020 16:58 (6), 02/06/2023 15:22 (5), 02/06/2023 15:28 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.