CVE-2025-21614

go-git clients vulnerable to DoS via maliciously crafted Git server replies

Published Jan 6, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-0043 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.
Github GHSA Github GHSA GHSA-r9px-m959-cxf4 go-git clients vulnerable to DoS via maliciously crafted Git server replies
Ubuntu USN Ubuntu USN USN-8088-1 go-git vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00107}

epss

{'score': 0.00087}

Type Values Removed Values Added
First Time appeared Go-git Project
Go-git Project go-git
CPEs cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
Vendors & Products Go-git Project
Go-git Project go-git
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_gitops:1.14::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.16::el9
Type Values Removed Values Added
First Time appeared Redhat openshift Gitops
Redhat openstack
CPEs cpe:/a:redhat:openshift_gitops:1.15::el8
cpe:/a:redhat:openstack:16.2::el8
cpe:/a:redhat:openstack:17.1::el9
Vendors & Products Redhat openshift Gitops
Redhat openstack
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.18::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:advanced_cluster_security:4.4::el8
Type Values Removed Values Added
First Time appeared Redhat
Redhat advanced Cluster Security
Redhat enterprise Linux
Redhat openshift
Redhat rhel Eus
Redhat trusted Profile Analyzer
CPEs cpe:/a:redhat:advanced_cluster_security:4.5::el8
cpe:/a:redhat:advanced_cluster_security:4.6::el8
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:openshift:4.17::el9
cpe:/a:redhat:rhel_eus:9.4
cpe:/a:redhat:trusted_profile_analyzer:1.2::el9
Vendors & Products Redhat
Redhat advanced Cluster Security
Redhat enterprise Linux
Redhat openshift
Redhat rhel Eus
Redhat trusted Profile Analyzer
Type Values Removed Values Added
Weaknesses CWE-770
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title go-git clients vulnerable to DoS via maliciously crafted Git server replies
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}