Allocation of Resources Without Limits or Throttling Affecting gopkg.in/src-d/go-git.v4/plumbing package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOPKGINSRCDGOGITV4PLUMBING-8602519
  • published7 Jan 2025
  • disclosed6 Jan 2025
  • creditIonut Lalu

Introduced: 6 Jan 2025

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

gopkg.in/src-d/go-git.v4/plumbing is a package containing the core interfaces and structs used by go-git

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 Scores

version 4.0
version 3.1