Out-of-bounds Read in Libgit2
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 class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.044 (91.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.043 · newest: 0.044 · change: +0.000
Affected products
- Libgit2
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- bugs.chromium.org/p/oss-fuzz/issues/detail (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/libgit2/libgit2/releases/tag/v0.27.4 (Third Party Advisory, Release Notes)
- www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html (Third Party Advisory)
- bugzilla.suse.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- lists.debian.org/debian-lts-announce/2018/08/msg00024.html (mailing-list, Mailing List, Third Party Advisory)
- github.com/libgit2/libgit2/releases/tag/v0.26.6 (Third Party Advisory, Release Notes)
- github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/03/msg00031.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-15501?
- CVE-2018-15501 is a high-severity vulnerability in Libgit2, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2018-08-18.
- How severe is CVE-2018-15501?
- High severity. CVSS v3 base score is 7.5 out of 10.