Description
In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory.
In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| canonical | ubuntu linux | 14.04 | – |
| canonical | ubuntu linux | 16.04 | – |
| canonical | ubuntu linux | 17.10 | – |
| canonical | ubuntu linux | 18.04 | – |
| git-scm | git | <= 2.13.6 | – |
| git-scm | git | >= 2.14.0 <= 2.14.3 | – |
| git-scm | git | >= 2.15.0 <= 2.15.1 | – |
| git-scm | git | >= 2.16.0 <= 2.16.3 | – |
| git-scm | git | 2.17.0 | – |
CWE-125 Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
| Scope | Impact |
|---|---|
| Confidentiality | Read Memory An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks. |
| Confidentiality | Bypass Protection Mechanism Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution. |
| Availability | DoS: Crash, Exit, or Restart An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string. |
| Other | Varies by Context The read operation could produce other undefined or unexpected results. |
All 10,513 CWE-125 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org