PT-2018-3838
CVE-2018-15501
·
Published
2018-07-14
·
Updated
2026-10-31
Description by
CVSS 2.0
7.8
HighMetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions
libgit2 versions prior to 0.26.6
libgit2 versions 0.27.x prior to 0.27.4
Description
The issue is related to the
ng pkt function in the transports/smart pkt.c component of libgit2, which is implemented in C. It involves a buffer data out-of-bounds read. A remote attacker can exploit this by sending a crafted smart-protocol "ng" packet that lacks a 0 byte, triggering an out-of-bounds read that leads to a denial of service.Recommendations
For libgit2 versions prior to 0.26.6, update to version 0.26.6 or later.
For libgit2 versions 0.27.x prior to 0.27.4, update to version 0.27.4 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾