Out-of-Bounds Affecting libgit2/libgit2 package, versions [,0.24.6)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.96% (90th 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 Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBGIT2LIBGIT2-2366303
  • published26 Jan 2022
  • disclosed24 Mar 2017
  • creditUnknown

Introduced: 24 Mar 2017

CVE-2016-10128  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade libgit2/libgit2 to version 0.24.6 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.

CVSS Base Scores

version 3.1