cve.bz

CVE-2025-21614 go-git project go-git: Uncontrolled Resource Consumption

7.5 highEPSS 0.7%Fix available

High (7.5) in go-git project go-git. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/go-git/go-git/v5 5.13.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-01-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-21614 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-21614?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-21614?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-21614 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
go-git_project:go-gitbefore 5.13.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r9px-m959-cxf4Gogopkg.in/src-d/go-git.v4>=4.0.0 <=4.13.1no fix published
GHSA-r9px-m959-cxf4Gogithub.com/go-git/go-git/v5<5.13.05.13.0
GHSA-r9px-m959-cxf4Gogithub.com/go-git/go-git>=4.0.0 <=4.13.1no fix published
GO-2025-3367Gogithub.com/go-git/go-git/v4>=4.0.0no fix published
GO-2025-3367Gogithub.com/go-git/go-git/v5<5.13.05.13.0
GO-2025-3367Gogopkg.in/src-d/go-git.v4>=4.0.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-github-go-git-go-gitno fix listedDEBIAN-CVE-2025-21614
Debian13, 14golang-github-go-git-go-git5.13.2-1DEBIAN-CVE-2025-21614
UbuntuPro:22.04:LTSgolang-github-go-git-go-git5.4.2-3ubuntu0.1~esm1UBUNTU-CVE-2025-21614 USN-8088-1
UbuntuPro:24.04:LTSgolang-github-go-git-go-git5.4.2-4ubuntu0.24.04.3+esm2UBUNTU-CVE-2025-21614 USN-8088-1
Red Hatenterprise_linux:8::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-21.el8_10RHSA-2025:0401
Red Hatrhel_eus:9.4::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-21.el9_4RHSA-2025:0662
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250108T191942-150000.1.26.1SUSE-SU-2025:0060-1
SUSEPackage Hub 15 SP6trivy0.58.2-bp156.2.6.1openSUSE-SU-2025:0056-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250108T191942-150000.1.26.1SUSE-SU-2025:0060-1
openSUSELeap 15.6trivy0.58.2-bp156.2.6.1openSUSE-SU-2025:0056-1
openSUSELeap 16.0cheat4.4.2-bp160.2.1openSUSE-SU-2025:20177-1
openSUSETumbleweedcheat4.4.2-2.1openSUSE-SU-2025:15487-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250108T191942-1.1openSUSE-SU-2025:14624-1
openSUSETumbleweedoperator-sdk1.39.0-1.1openSUSE-SU-2025:14634-1
AlmaLinux8grafana, grafana-selinux9.2.10-21.el8_10ALSA-2025:0401
Rocky Linux8grafana0:9.2.10-21.el8_10RLSA-2025:0401
Azure Linux2cri-o1.22.3-14AZL-55106
Azure Linux2packer1.9.5-7AZL-55079
Azure Linux3cri-ono fix listedAZL-55073
Azure Linux3packer1.9.5-5AZL-55063

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

IMPORTANT: Red Hat products that ship or use the vulnerable go-git client behavior are affected by a denial-of-service vulnerability in go-git clients. An attacker can provide specially crafted replies from a Git server to a go-git client, causing resource exhaustion and potentially making the client unavailable; the current CVSS is 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). The current affects include affected component records across Red Hat Enterprise Linux, OpenShift Container Platform, Red Hat OpenShift GitOps, OpenShift Virtualization, Red Hat OpenShift Serverless, Red Hat Advanced Cluster Security, Red Hat OpenShift AI, Red Hat OpenStack Platform, Red Hat Ceph Storage, and other Red Hat products. Seven OpenShift Container Platform openshift-clients records are explicitly marked not affected because the vulnerability requires the vulnerable go-git client behavior. Affected records are delegated: records delegated as AFFECTED indicate that a fix is being pursued, WONTFIX records do not have a fix planned, and the Red Hat OpenStack Platform records marked DEFER have no deferral rationale in the current flaw; their residual risk is the same potential denial of service if a malicious Git server response reaches the component.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-main-rhel8:4.4.8-2Fixed 2025-02-13RHSA-2025:1468
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-rhel8-operator:4.4.8-2Fixed 2025-02-13RHSA-2025:1468
Red Hat Advanced Cluster Security 4.4advanced-cluster-security/rhacs-roxctl-rhel8:4.4.8-2Fixed 2025-02-13RHSA-2025:1468
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-main-rhel8:4.5.6-2Fixed 2025-02-11RHSA-2025:1334
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-rhel8-operator:4.5.6-2Fixed 2025-02-11RHSA-2025:1334
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-roxctl-rhel8:4.5.6-2Fixed 2025-02-11RHSA-2025:1334
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-rhel8:4.5.6-2Fixed 2025-02-11RHSA-2025:1334
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-slim-rhel8:4.5.6-2Fixed 2025-02-11RHSA-2025:1334
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-v4-db-rhel8:4.5.6-1Fixed 2025-02-11RHSA-2025:1334
Red Hat Advanced Cluster Security 4.5advanced-cluster-security/rhacs-scanner-v4-rhel8:4.5.6-2Fixed 2025-02-11RHSA-2025:1334
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Under investigation
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Under investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Under investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Under investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Under investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Under investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Under investigation
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Under investigation
Compliance Operatorcompliance/openshift-compliance-must-gather-rhel8Under investigation
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Under investigation
410 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-21614.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON