Ad

CVE-2025-21613

CRITICAL CVSS 4.0: 9.2 EPSS 2.86%
Updated Apr 17, 2025
Go-Git_Project
Parameter Value
CVSS 9.2 (CRITICAL)
Affected Versions before 5.13.0
Fixed In 5.13.0
Type CWE-88
Vendor Go-Git_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Go-Git_Project Go-Git
cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
5.13.0