CVE-2025-21613
Publication date 6 January 2025
Last updated 12 March 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| golang-github-go-git-go-git | 25.10 questing |
Not affected
|
| 24.04 LTS noble |
Fixed 5.4.2-4ubuntu0.24.04.3+esm2
|
|
| 22.04 LTS jammy |
Fixed 5.4.2-3ubuntu0.1~esm1
|
|
| 20.04 LTS focal | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-8088-1
- go-git vulnerabilities
- 12 March 2026