Description
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.
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.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| canonical | ubuntu linux | 14.04 | – |
| canonical | ubuntu linux | 16.04 | – |
| canonical | ubuntu linux | 17.10 | – |
| gnu | patch | <= 2.7.6 | – |
CWE-476 NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
| Scope | Impact |
|---|---|
| Availability | DoS: Crash, Exit, or Restart NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation. |
| Integrity, Confidentiality | Execute Unauthorized Code or Commands, Read Memory, Modify Memory In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution. |
All 5,819 CWE-476 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org