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.4th percentile (scored ); unchanged over 30 days. About EPSS.
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)
- [debian-lts-announce] 20180825 [SECURITY] [DLA 1477-1] libgit2 security update (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)
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update (mailing-list, Mailing List, Third Party Advisory)