Out-of-bounds Read Affecting libgit2 package, versions <0.27.0+dfsg.1-0.6


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.34% (72nd 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-DEBIAN12-LIBGIT2-1550123
  • published14 Mar 2018
  • disclosed14 Mar 2018

Introduced: 14 Mar 2018

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

How to fix?

Upgrade Debian:12 libgit2 to version 0.27.0+dfsg.1-0.6 or higher.

NVD Description

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

Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an attacker to cause a denial of service (out-of-bounds read) via a crafted repository index file.

CVSS Scores

version 3.1