CVE-2018-15501 — In ng_pkt in transports/smart_pkt
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.
Published
2018-08-18T02:00:00.000Z
Last modified
2024-08-05T09:54:03.514Z
01What is this vulnerability?
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.
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / n/a | n/a |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2018-08-18T02:00:00.000Z
- Last modified: 2024-08-05T09:54:03.514Z
09References
- bugs.chromium.org — https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
- github.com — https://github.com/libgit2/libgit2/releases/tag/v0.27.4
- www.pro-linux.de — https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html
- bugzilla.suse.com — https://bugzilla.suse.com/show_bug.cgi?id=1104641
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
- github.com — https://github.com/libgit2/libgit2/releases/tag/v0.26.6
- github.com — https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c6…
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →