Name | CVE-2018-15501 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DLA-1477-1, DLA-2936-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libgit2 (PTS) | stretch | 0.25.1+really0.24.6-1 | vulnerable |
stretch (security) | 0.25.1+really0.24.6-1+deb9u1 | fixed | |
buster | 0.27.7+dfsg.1-0.2 | fixed | |
bullseye | 1.1.0+dfsg.1-4 | fixed | |
bookworm, sid | 1.3.0+dfsg.1-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libgit2 | source | jessie | 0.21.1-3+deb8u1 | DLA-1477-1 | ||
libgit2 | source | stretch | 0.25.1+really0.24.6-1+deb9u1 | DLA-2936-1 | ||
libgit2 | source | (unstable) | 0.27.4+dfsg.1-0.1 | low |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649