CVE-2025-21614: go-git clients vulnerable to DoS via maliciously crafted Git server replies
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.71% (FIRST EPSS); higher than 54.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: azl3 packer 1.9.5-5 on Azure Linux 3.0 1.9.5-5; azl3 packer 1.9.5-6 on Azure Linux 3.0 1.9.5-5; cbl2 cri-o 1.22.3-13 on CBL Mariner 2.0 1.22.3-13.
Low priority for now. Upgrade to azl3 packer 1.9.5-5 on Azure Linux 3.0 1.9.5-5; azl3 packer 1.9.5-6 on Azure Linux 3.0 1.9.5-5; cbl2 cri-o 1.22.3-13 on CBL Mariner 2.0 1.22.3-13 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Jan 6, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.7% · 54th percentile
- CWE
- CWE-400
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 7.5
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| go-git project | go-git | cpe:2.3:a:go-git_project:go-git |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- go-git project go-gitbefore 5.13.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
go-git go-git
- >= 4.0.0, < 5.13.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | grafana | before 9.2.10-21.el8_10 | 9.2.10-21.el8_10 |
| AlmaLinux:8 | grafana-selinux | before 9.2.10-21.el8_10 | 9.2.10-21.el8_10 |
| Debian:12 | golang-github-go-git-go-git | from 0 | — |
| Debian:13 | golang-github-go-git-go-git | before 5.13.2-1 | 5.13.2-1 |
| Go | github.com/go-git/go-git | from 4.0.0 · up to and including 4.13.1 | — |
| Go | github.com/go-git/go-git/v4 | from 4.0.0 | — |
| Go | github.com/go-git/go-git/v5 | before 5.13.0 | 5.13.0 |
| Go | gopkg.in/src-d/go-git.v4 | from 4.0.0 | — |
| Go | gopkg.in/src-d/go-git.v4 | from 4.0.0 · up to and including 4.13.1 | — |
| openSUSE:Leap 15.6 | govulncheck-vulndb | before 0.0.20250108T191942-150000.1.26.1 | 0.0.20250108T191942-150000.1.26.1 |
| openSUSE:Leap 15.6 | trivy | before 0.58.2-bp156.2.6.1 | 0.58.2-bp156.2.6.1 |
| openSUSE:Leap 16.0 | cheat | before 4.4.2-bp160.2.1 | 4.4.2-bp160.2.1 |
| openSUSE:Tumbleweed | cheat | before 4.4.2-2.1 | 4.4.2-2.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | before 0.0.20250108T191942-1.1 | 0.0.20250108T191942-1.1 |
| openSUSE:Tumbleweed | operator-sdk | before 1.39.0-1.1 | 1.39.0-1.1 |
| Red Hat:enterprise_linux:8::appstream | grafana | before 0:9.2.10-21.el8_10 | 0:9.2.10-21.el8_10 |
| Red Hat:enterprise_linux:8::appstream | grafana-debuginfo | before 0:9.2.10-21.el8_10 | 0:9.2.10-21.el8_10 |
| Red Hat:enterprise_linux:8::appstream | grafana-debugsource | before 0:9.2.10-21.el8_10 | 0:9.2.10-21.el8_10 |
| Red Hat:enterprise_linux:8::appstream | grafana-selinux | before 0:9.2.10-21.el8_10 | 0:9.2.10-21.el8_10 |
| Red Hat:rhel_eus:9.4::appstream | grafana | before 0:9.2.10-21.el9_4 | 0:9.2.10-21.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | grafana-debuginfo | before 0:9.2.10-21.el9_4 | 0:9.2.10-21.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | grafana-debugsource | before 0:9.2.10-21.el9_4 | 0:9.2.10-21.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | grafana-selinux | before 0:9.2.10-21.el9_4 | 0:9.2.10-21.el9_4 |
| Rocky Linux:8 | grafana | before 0:9.2.10-21.el8_10 | 0:9.2.10-21.el8_10 |
+2
Same product
go-git project: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-49569Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients39Monitor
- CVE-2025-21613go-git has an Argument Injection via the URL field36Monitor
- CVE-2023-49568Maliciously crafted Git server replies can cause DoS on go-git clients30Monitor
Published before and after this one in the same product
- Later →CVE-2026-25934Feb 9, 2026 · go-git improperly verifies data integrity values for .idx and .pack files17Monitor
- Later →CVE-2026-34165Mar 31, 2026 · go-git: Maliciously crafted idx file can cause asymmetric memory consumption20Monitor
- Later →CVE-2026-33762Mar 31, 2026 · go-git: Missing validation decoding Index v4 files leads to panic11Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 packer 1.9.5-5 on Azure Linux 3.0 | 1.9.5-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 packer 1.9.5-6 on Azure Linux 3.0 | 1.9.5-5 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cri-o 1.22.3-13 on CBL Mariner 2.0 | 1.22.3-13 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cri-o 1.22.3-14 on CBL Mariner 2.0 | 1.22.3-13 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cri-o 1.22.3-14 on CBL-Mariner 2.0 | 1.22.3-13 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 packer 1.9.5-5 on CBL Mariner 2.0 | 1.9.5-7 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 packer 1.9.5-5 on CBL-Mariner 2.0 | 1.9.5-7 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 packer 1.9.5-7 on CBL Mariner 2.0 | 1.9.5-7 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:grafana | 9.2.10-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:grafana-selinux | 9.2.10-21.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:golang-github-go-git-go-git | 5.13.2-1 · Debian:13 | Package registry (OSV) |
| Go:github.com/go-git/go-git/v5 | 5.13.0 | Package registry (OSV) |
| opensuse:cheat | 4.4.2-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:govulncheck-vulndb | 0.0.20250108T191942-150000.1.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:operator-sdk | 1.39.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:trivy | 0.58.2-bp156.2.6.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:grafana | 0:9.2.10-21.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:grafana-debuginfo | 0:9.2.10-21.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:grafana-debugsource | 0:9.2.10-21.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:grafana-selinux | 0:9.2.10-21.el8_10 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:grafana | 0:9.2.10-21.el8_10 · Rocky Linux:8 | Package registry (OSV) |
| suse:govulncheck-vulndb | 0.0.20250108T191942-150000.1.26.1 · SUSE:Linux Enterprise Module for Package Hub 15 SP6 | Package registry (OSV) |
| suse:trivy | 0.58.2-bp156.2.6.1 · SUSE:Package Hub 15 SP6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.