Out-of-bounds Read in Libgit2

CVE-2018-15501

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.

Vulnerability class: Buffer Overflow

EPSS: 0.043 (90.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)

Frequently asked questions

What is CVE-2018-15501?
CVE-2018-15501 is a high-severity vulnerability in Libgit2, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2018-08-18.
How severe is CVE-2018-15501?
High severity. CVSS v3 base score is 7.5 out of 10.