CRITICAL · CVSS 9.8 Published: 2025-01-06
CVE-2025-21613 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-21613 |
|---|---|
| Base Severity / Score | CRITICAL (9.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-88 |
| Archive Categories | CRITICAL Advisories · 2025 Index |
Operational Mitigation Guidance
Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.
Upstream References
Related Security Advisories
CVE-2025-21611 HIGH 8.8
CVE-2025-21614 HIGH 7.5
CVE-2025-21609 CRITICAL 9.1
CVE-2025-21619 CRITICAL 9.8
CVE-2025-21624 CRITICAL 9.8
CVE-2025-21628 CRITICAL 9.1
CVE-2025-21663 CRITICAL 10
CVE-2025-21673 CRITICAL 9.8