Out-of-bounds Read Affecting libgit2-devel package, versions <0.26.6-3.5.2


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
4.37% (91st 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-SLES150-LIBGIT2DEVEL-2762397
  • published14 Apr 2022
  • disclosed21 Aug 2018

Introduced: 21 Aug 2018

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

How to fix?

Upgrade SLES:15.0 libgit2-devel to version 0.26.6-3.5.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgit2-devel package and not the libgit2-devel package as distributed by SLES. See How to fix? for SLES:15.0 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 Base Scores

version 3.1