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

Tue, 07 Jan 2025 01:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 06 Jan 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 06 Jan 2025 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title go-git has an Argument Injection via the URL field
Weaknesses CWE-88
References
Metrics cvssV4_0

{'score': 9.2, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-01-06T16:13:10.611Z

Updated: 2025-01-06T16:45:02.671Z

Reserved: 2024-12-29T03:00:24.713Z

Link: CVE-2025-21613

cve-icon Vulnrichment

Updated: 2025-01-06T16:44:56.937Z

cve-icon NVD

Status : Received

Published: 2025-01-06T17:15:47.043

Modified: 2025-01-06T17:15:47.043

Link: CVE-2025-21613

cve-icon Redhat

Severity : Important

Publid Date: 2025-01-06T16:13:10Z

Links: CVE-2025-21613 - Bugzilla