Double Free Affecting libgit2 package, versions *


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.19% (57th 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 Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1804-LIBGIT2-309015
  • published14 Mar 2018
  • disclosed14 Mar 2018

Introduced: 14 Mar 2018

CVE-2018-8099  (opens in a new tab)
CWE-415  (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.

Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service via a crafted repository index file.

CVSS Scores

version 3.1