CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025

CVE-2025-21613
Go-git Project Go-git vulnerability

go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Go-git. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Go-git Project Go-git runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.