CVE-2018-15501

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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Third Party Advisory https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html
Third Party Advisory https://github.com/libgit2/libgit2/releases/tag/v0.27.4
Third Party Advisory https://github.com/libgit2/libgit2/releases/tag/v0.26.6
Patch https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649
Issue Tracking https://bugzilla.suse.com/show_bug.cgi?id=1104641
Third Party Advisory https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
Mailing List https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* debian_linux == None == 8.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
libgit2-1.5 edge-community 0.27.4-r0 None fixed
libgit2-1.1 edge-community 0.27.4-r0 None fixed
libgit2-1.0 edge-community 0.27.4-r0 None fixed
libgit2 edge-community 0.27.4-r0 None fixed
libgit2 3.22-community 0.27.4-r0 None fixed
libgit2 3.21-community 0.27.4-r0 None fixed
libgit2 3.20-community 0.27.4-r0 None fixed
libgit2 3.19-community 0.27.4-r0 None fixed
libgit2 3.18-community 0.27.4-r0 None fixed
libgit2 3.17-community 0.27.4-r0 None fixed
libgit2 3.11-main 0.27.4-r0 None fixed
libgit2 3.10-main 0.27.4-r0 None fixed