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

17 Apr 2025, 02:33

Type Values Removed Values Added
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:*:*
First Time Go-git Project
Go-git Project go-git
Summary
  • (es) Go-git es una librería de implementación de Git altamente extensible escrita en Go puro. Se descubrió una vulnerabilidad de inyección de argumentos en versiones de Go-git anteriores a la v5.13. La explotación exitosa de esta vulnerabilidad podría permitir a un atacante establecer valores arbitrarios para los indicadores git-upload-pack. Esto solo sucede cuando se utiliza el protocolo de transporte de archivos, ya que es el único protocolo que realiza transferencias a binarios de Git. Esta vulnerabilidad se corrigió en la versión 5.13.0.

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

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