CVE-2025-21614
HIGH 7.5CVSS 3.1go-git clients vulnerable to DoS via maliciously crafted Git server replies
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.
- Published
- 6 Jan 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-400CWE-770
- Also known as
- GHSA-r9px-m959-cxf4GO-2025-3367
- Sources
- NVDJSONOSV GHSA-r9px-m959-cxf4JSONOSV GO-2025-3367JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-git_project | go-gitcpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* |
< 5.13.0 | 5.13.0 |
| OSV | Go | gopkg.in/src-d/go-git.v4 | >= 4.0.0, <= 4.13.1 | |
| OSV | Go | github.com/go-git/go-git/v5 | < 5.13.0 | 5.13.0 |
| OSV | Go | github.com/go-git/go-git | >= 4.0.0, <= 4.13.1 | |
| OSV | Go | github.com/go-git/go-git/v4 | >= 4.0.0 | |
| OSV | Go | gopkg.in/src-d/go-git.v4 | >= 4.0.0 |
References
- https://github.com/go-git/go-git/security/advisories/GHSA-r9px-m959-cxf4 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-21614 · ADVISORY
- https://github.com/go-git/go-git · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 6 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2025)