Arbitrary Argument Injection Affecting gopkg.in/src-d/go-git.v4/plumbing/transport package, versions >=0.0.0


Severity

Recommended
0.0
medium
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 IDSNYK-GOLANG-GOPKGINSRCDGOGITV4PLUMBINGTRANSPORT-8602521
  • published7 Jan 2025
  • disclosed6 Jan 2025
  • creditvin01

Introduced: 6 Jan 2025

NewCVE-2025-21613  (opens in a new tab)
CWE-88  (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/transport is an implementation for different transport protocols

Affected versions of this package are vulnerable to Arbitrary Argument Injection via a malicious URL value, which allows an attacker to set flags on the git-upload-pack command, if the file: protocol is in use.

References

CVSS Scores

version 4.0
version 3.1