CVE-2025-21613

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*

History

No history.

Information

Published : 2025-01-06 17:15

Updated : 2025-04-17 02:33


NVD link : CVE-2025-21613

Mitre link : CVE-2025-21613

CVE.ORG link : CVE-2025-21613


JSON object : View

Products Affected

go-git_project

  • go-git
CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')