Out-of-bounds Read Affecting libgit2 package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.4% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-LIBGIT2-308958
  • published22 Aug 2018
  • disclosed18 Aug 2018

Introduced: 18 Aug 2018

CVE-2018-15501  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 libgit2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgit2 package and not the libgit2 package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1