Vulnerability Details : CVE-2018-15501
In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol "ng" packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.
Vulnerability category: Denial of service
Products affected by CVE-2018-15501
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*
- cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-15501
0.39%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 71 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-15501
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2018-15501
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-15501
-
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
[SECURITY] [DLA 2936-1] libgit2 security updateMailing List;Third Party Advisory
-
https://github.com/libgit2/libgit2/releases/tag/v0.26.6
Release libgit2 v0.26.6 · libgit2/libgit2 · GitHubRelease Notes;Third Party Advisory
-
https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html
Sicherheit: Denial of Service in libgit2 - Pro-LinuxThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
[SECURITY] [DLA 1477-1] libgit2 security updateMailing List;Third Party Advisory
-
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
9406 - libgit2/download_refs_fuzzer: Heap-buffer-overflow in ng_pkt - oss-fuzz - MonorailExploit;Issue Tracking;Patch;Third Party Advisory
-
https://github.com/libgit2/libgit2/releases/tag/v0.27.4
Release libgit2 v0.27.4 · libgit2/libgit2 · GitHubRelease Notes;Third Party Advisory
-
https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649
smart_pkt: fix potential OOB-read when processing ng packet · libgit2/libgit2@1f9a851 · GitHubPatch;Third Party Advisory
-
https://bugzilla.suse.com/show_bug.cgi?id=1104641
Bug 1104641 – VUL-0: CVE-2018-15501: libgit2: out-of-bounds reads when processing smart-protocol "ng" packetsIssue Tracking;Patch;Third Party Advisory
Jump to