CVE-2025-21614
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 5.13.2-1 |
| sid | Fixed | 5.13.2-1 |
| forky | Fixed | 5.13.2-1 |
| bookworm | Affected | โ |
Red Hat Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | gopkg.in/src-d/go-git.v4 | >=4.0.0,<=4.13.1 | |
| Go | github.com/go-git/go-git/v5 | <5.13.0 | 5.13.0 |
| Go | github.com/go-git/go-git | >=4.0.0,<=4.13.1 | |
| Go | github.com/go-git/go-git/v4 | >=4.0.0 | |
| Go | gopkg.in/src-d/go-git.v4 | >=4.0.0 | |
References
- https://errata.rockylinux.org/RLSA-2025:0401
- https://github.com/go-git/go-git/security/advisories/GHSA-r9px-m959-cxf4
- https://nvd.nist.gov/vuln/detail/CVE-2025-21614
- https://github.com/go-git/go-git
- https://security-tracker.debian.org/tracker/CVE-2025-21614
- https://access.redhat.com/errata/RHSA-2025:0401
- https://bugzilla.redhat.com/2335888
- https://bugzilla.redhat.com/2335901
- https://errata.almalinux.org/8/ALSA-2025-0401.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.