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 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libgit2 (PTS) | jessie, jessie (lts) | 0.21.1-3+deb8u1 | fixed |
stretch (security) | 0.25.1+really0.24.6-1+deb9u1 | fixed | |
stretch (lts), stretch | 0.25.1+really0.24.6-1+deb9u3 | fixed | |
buster (security), buster, buster (lts) | 0.27.7+dfsg.1-0.2+deb10u2 | fixed | |
bullseye (security), bullseye | 1.1.0+dfsg.1-4+deb11u2 | fixed | |
bookworm (security), bookworm | 1.5.1+ds-1+deb12u1 | fixed | |
sid, trixie | 1.8.4+ds-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