CVE-2025-21614
published 2025-01-06CVE-2025-21614: 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…
PriorityP340high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.70%
48.3th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-github-go-git-go-git | < golang-github-go-git-go-git 5.13.2-1 (forky) | golang-github-go-git-go-git 5.13.2-1 (forky) |
| github.com | go-git_go-git | 4.0.0 – 4.13.1 | — |
| github.com | go-git_go-git_v4 | >= 4.0.0 | — |
| github.com | go-git_go-git_v5 | >= 0 < 5.13.0 | 5.13.0 |
| go-git | go-git | — | — |
| go-git_project | go-git | < 5.13.0 | 5.13.0 |
| gopkg.in | src-d_go-git.v4 | 4.0.0 – 4.13.1 | — |
| gopkg.in | src-d_go-git.v4 | >= 4.0.0 | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
go-git vulnerabilities
vendor_ubuntu·2026-03-12·CVSS 7.5
CVE-2025-21613 [HIGH] go-git vulnerabilities
Title: go-git vulnerabilities
Summary: Several security issues were fixed in go-git.
Ionut Lalu discovered that go-git incorrectly handled certain specially
crafted Git server responses. An attacker could possibly use this issue to
cause a denial of service. (CVE-2023-49568, CVE-2025-21614)
Ionut Lalu discovered that go-git incorrectly handled file system paths
when using the ChrootOS implementation. A remote attacker could possibly
use this issue to perform a path traversal and create or modify arbitrary
files, leading to remote code execution. (CVE-2023-49569)
It was discovered that go-git did not properly sanitize arguments when
invoking git-upload-pack using the file transport protocol. An attacker
could possibly use this issue to inject arbitrary flag values when
interacting with
Red Hat
go-git: go-git clients vulnerable to DoS via maliciously crafted Git server replies
vendor_redhat·2025-01-06·CVSS 7.5
CVE-2025-21614 [HIGH] CWE-770 go-git: go-git clients vulnerable to DoS via maliciously crafted Git server replies
go-git: go-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.
A denial of service (DoS) vulnerability was found in go-git. This vulnerability allows an attacker to perform denial of service attacks by providing specially crafted responses from a Git server, which triggers resource exhaustion
Debian
CVE-2025-21614: golang-github-go-git-go-git - go-git is a highly extensible git implementation library written in pure Go. A d...
vendor_debian·2025·CVSS 7.5
CVE-2025-21614 [HIGH] CVE-2025-21614: golang-github-go-git-go-git - go-git is a highly extensible git implementation library written in pure Go. A d...
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.
Scope: local
bookworm: open
forky: resolved (fixed in 5.13.2-1)
sid: resolved (fixed in 5.13.2-1)
trixie: resolved (fixed in 5.13.2-1)
OSV
golang-github-go-git-go-git vulnerabilities
osv·2026-03-12·CVSS 7.5
CVE-2023-49568 [HIGH] golang-github-go-git-go-git vulnerabilities
golang-github-go-git-go-git vulnerabilities
Ionut Lalu discovered that go-git incorrectly handled certain specially
crafted Git server responses. An attacker could possibly use this issue to
cause a denial of service. (CVE-2023-49568, CVE-2025-21614)
Ionut Lalu discovered that go-git incorrectly handled file system paths
when using the ChrootOS implementation. A remote attacker could possibly
use this issue to perform a path traversal and create or modify arbitrary
files, leading to remote code execution. (CVE-2023-49569)
It was discovered that go-git did not properly sanitize arguments when
invoking git-upload-pack using the file transport protocol. An attacker
could possibly use this issue to inject arbitrary flag values when
interacting with local Git repositories. (CVE-2025-21613)
OSV
Clients vulnerable to DoS via maliciously crafted Git server replies in github.com/go-git/go-git
osv·2025-01-07
CVE-2025-21614 Clients vulnerable to DoS via maliciously crafted Git server replies in github.com/go-git/go-git
Clients vulnerable to DoS via maliciously crafted Git server replies in github.com/go-git/go-git
Clients vulnerable to DoS via maliciously crafted Git server replies in github.com/go-git/go-git
OSV
CVE-2025-21614: go-git is a highly extensible git implementation library written in pure Go
osv·2025-01-06·CVSS 7.5
CVE-2025-21614 [HIGH] CVE-2025-21614: go-git is a highly extensible git implementation library written in pure Go
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.
GHSA
go-git clients vulnerable to DoS via maliciously crafted Git server replies
ghsa·2025-01-06
CVE-2025-21614 [HIGH] CWE-20 go-git clients vulnerable to DoS via maliciously crafted Git server replies
go-git clients vulnerable to DoS via maliciously crafted Git server replies
### Impact
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.
This is a `go-git` implementation issue and does not affect the upstream `git` cli.
### Patches
Users running versions of `go-git` from `v4` and above are recommended to upgrade to `v5.13` in order to mitigate this vulnerability.
### Workarounds
In cases where a bump to the latest version of `go-git` is not possible, we recommend limiting its use to only trust-worthy Git servers.
## Credit
Thanks to Ionut Lalu for responsi
OSV
go-git clients vulnerable to DoS via maliciously crafted Git server replies
osv·2025-01-06
CVE-2025-21614 [HIGH] go-git clients vulnerable to DoS via maliciously crafted Git server replies
go-git clients vulnerable to DoS via maliciously crafted Git server replies
### Impact
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.
This is a `go-git` implementation issue and does not affect the upstream `git` cli.
### Patches
Users running versions of `go-git` from `v4` and above are recommended to upgrade to `v5.13` in order to mitigate this vulnerability.
### Workarounds
In cases where a bump to the latest version of `go-git` is not possible, we recommend limiting its use to only trust-worthy Git servers.
## Credit
Thanks to Ionut Lalu for responsi
No detection rules found.
No public exploits indexed.
2025-01-06
Published