CVE-2025-21614 go-git clients vulnerable to DoS via maliciously crafted Git server replies
HighCVSS 7.5
EPSS 0.71%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
go-git is a highly extensible git implementation library written in pure Go. A denial of service (DoS) vulnerability was discovered in go-git versions prior to v5.13. This vulnerability allows an attacker to perform denial of service attacks by providing specially crafted responses from a Git server which triggers resource exhaustion in go-git clients. Users running versions of go-git from v4 and above are recommended to upgrade to v5.13 in order to mitigate this vulnerability.
Upgrade path
12 packages: 8 fixed, 2 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-go-git-go-git(Debian 12) | = 5.4.2-3; = 5.4.2-4; = 5.11.0-1; = 5.11.0-2 +10 more | No fix listed | No fix yet |
| go-git(Go) | < 5.13.0; >= 4.0.0; >= 4.0.0, <= 4.13.1 | 5.13.0 | Partially fixed |
| gopkg.in/src-d/go-git.v4(Go) | >= 4.0.0; >= 4.0.0, <= 4.13.1 | after 4.13.1 | Partially fixed |
| azure linux packer(Azure Linux 3.0) | < 1.9.5-5 | 1.9.5-5 | Fixed |
| cbl-mariner cri-o(CBL-Mariner 2.0) | < 1.22.3-13 | 1.22.3-13 | Fixed |
| cbl-mariner packer(CBL-Mariner 2.0) | < 1.9.5-7 | 1.9.5-7 | Fixed |
| debian/golang-github-go-git-go-git(Debian 13) | < 5.13.2-1 | 5.13.2-1 | Fixed |
| debian/golang-github-go-git-go-git(Debian 14) | < 5.13.2-1 | 5.13.2-1 | Fixed |
| go-git project go-git | < 5.13.0 | 5.13.0 | Fixed |
| ubuntu/golang-github-go-git-go-git(Ubuntu 22.04) | < 5.4.2-3ubuntu0.1~esm1 | 5.4.2-3ubuntu0.1~esm1 | Fixed |
| ubuntu/golang-github-go-git-go-git(Ubuntu 24.04) | < 5.4.2-4ubuntu0.24.04.3+esm2 | 5.4.2-4ubuntu0.24.04.3+esm2 | Fixed |
| go-git | = >= 4.0.0, < 5.13.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gopkg.in/src-d/go-git.v4(Go) | >= 4.0.0, <= 4.13.1 | No fix listed |
| go-git(Go) | < 5.13.0 | 5.13.0 |
| go-git(Go) | >= 4.0.0, <= 4.13.1 | No fix listed |
| go-git(Go) | >= 4.0.0 | No fix listed |
| gopkg.in/src-d/go-git.v4(Go) | >= 4.0.0 | No fix listed |
| azure linux packer(Azure Linux:3.0) | < 1.9.5-5 | 1.9.5-5 |
| cbl-mariner packer(CBL-Mariner:2.0) | < 1.9.5-7 | 1.9.5-7 |
| cbl-mariner cri-o(CBL-Mariner:2.0) | < 1.22.3-13 | 1.22.3-13 |
| debian/golang-github-go-git-go-git(Debian:12) | All versions | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.11.0-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.11.0-2 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.11.0-3 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.11.0-4 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.12.0-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.13.2-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.14.0-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.16.2-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.17.0-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.17.1-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.19.1-1 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.4.2-3 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:12) | = 5.4.2-4 | No fix listed |
| debian/golang-github-go-git-go-git(Debian:13) | < 5.13.2-1 | 5.13.2-1 |
| debian/golang-github-go-git-go-git(Debian:14) | < 5.13.2-1 | 5.13.2-1 |
| go-git | = >= 4.0.0, < 5.13.0 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/golang-github-go-git-go-git(Ubuntu:22.04) | < 5.4.2-3ubuntu0.1~esm1 | 5.4.2-3ubuntu0.1~esm1 |
| ubuntu/golang-github-go-git-go-git(Ubuntu:24.04) | < 5.4.2-4ubuntu0.24.04.3+esm2 | 5.4.2-4ubuntu0.24.04.3+esm2 |
| go-git project go-git | < 5.13.0 | 5.13.0 |
References
- https://github.com/go-git/go-git/security/advisories/GHSA-r9px-m959-cxf4 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-21614 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- USN-8088-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking