Allocation of Resources Without Limits or Throttling Affecting github.com/go-git/go-git/plumbing package, versions >=4.0.0 <5.13.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (28th 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-GOLANG-GITHUBCOMGOGITGOGITPLUMBING-8602518
  • published7 Jan 2025
  • disclosed6 Jan 2025
  • creditIonut Lalu

Introduced: 6 Jan 2025

CVE-2025-21614  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/go-git/go-git/plumbing to version 5.13.0 or higher.

Overview

github.com/go-git/go-git/plumbing is a highly extensible git implementation library written in pure Go.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via specially crafted responses from a Git server, which triggers resource exhaustion in clients.

Workaround

In cases where a bump to the latest version of go-git is not possible, we recommend limiting its use to only trustworthy Git servers.

References

CVSS Base Scores

version 4.0
version 3.1