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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1477-1, DLA-2936-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libgit2 (PTS) | bullseye (security), bullseye | 1.1.0+dfsg.1-4+deb11u2 | fixed |
| bookworm, bookworm (security) | 1.5.1+ds-1+deb12u1 | fixed |
| trixie | 1.8.2~rc1+ds2-1 | fixed |
| sid | 1.8.4+ds-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649