CVE-2025-21613 CRITICAL

CVE-2025-21613: go-git has an Argument Injection via the URL field

Vendor Go-Git
Product go-git
Weakness CWE-88
Published January 6, 2025
Last update January 6, 2025

CVSS base score

9.2/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/U:Clear

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 6, 2025 CVE published
January 6, 2025 Record updated