CVE-2018-15501

NameCVE-2018-15501
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1477-1, DLA-2936-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgit2 (PTS)buster0.27.7+dfsg.1-0.2fixed
buster (security)0.27.7+dfsg.1-0.2+deb10u2fixed
bullseye1.1.0+dfsg.1-4+deb11u1fixed
bullseye (security)1.1.0+dfsg.1-4+deb11u2fixed
bookworm1.5.1+ds-1fixed
bookworm (security)1.5.1+ds-1+deb12u1fixed
sid, trixie1.7.2+ds-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgit2sourcejessie0.21.1-3+deb8u1DLA-1477-1
libgit2sourcestretch0.25.1+really0.24.6-1+deb9u1DLA-2936-1
libgit2source(unstable)0.27.4+dfsg.1-0.1low

Notes

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649

Search for package or bug name: Reporting problems