Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian | Debian Linux | 8.0 |
| Libgit2 | Libgit2 | < 0.26.6 |
Related Weaknesses (CWE)
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406ExploitIssue TrackingPatch
- https://bugzilla.suse.com/show_bug.cgi?id=1104641Issue TrackingPatchThird Party Advisory
- https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c6PatchThird Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v0.26.6Release NotesThird Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v0.27.4Release NotesThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/08/msg00024.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.htmlMailing ListThird Party Advisory
- https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.htmlThird Party Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406ExploitIssue TrackingPatch
- https://bugzilla.suse.com/show_bug.cgi?id=1104641Issue TrackingPatchThird Party Advisory
- https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c6PatchThird Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v0.26.6Release NotesThird Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v0.27.4Release NotesThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/08/msg00024.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2018-15501?
CVE-2018-15501 is a vulnerability with a CVSS score of 7.5 (HIGH). 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-bound...
How severe is CVE-2018-15501?
CVE-2018-15501 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-15501?
Check the references section above for vendor advisories and patch information. Affected products include: Debian Debian Linux, Libgit2 Libgit2.