What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: libgit2 0.26.6, 0.27.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-15501 or the next vulnerability affects your stack