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

No CVSS.

Configurations

Configuration 1 (hide)

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

History

17 Apr 2025, 02:33

Type Values Removed Values Added
First Time Go-git Project go-git
Go-git Project
References () https://github.com/go-git/go-git/security/advisories/GHSA-v725-9546-7q7m - () https://github.com/go-git/go-git/security/advisories/GHSA-v725-9546-7q7m - Vendor Advisory
CPE cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*

06 Jan 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-06 17:15

Updated : 2025-04-17 02:33


NVD link : CVE-2025-21613

Mitre 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')