go-git clients vulnerable to DoS via maliciously crafted Git server replies
go-git
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| gopkg.in/src-d/go-git.v4 Go |
| No fix yet |
| github.com/go-git/go-git/v5 Go |
|
|
| github.com/go-git/go-git Go |
go-git
| Product | Affected | Fixed in |
|---|---|---|
| gopkg.in/src-d/go-git.v4 Go |
| No fix yet |
| github.com/go-git/go-git/v5 Go |
|
|
| github.com/go-git/go-git Go |
|
| No fix yet |
| github.com/go-git/go-git/v4 Go |
| No fix yet |
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.
From the CVE record · GitHub_M
Affected go-git clients can exhaust resources when a Git server sends specially crafted responses. An attacker able to provide those server responses can cause a denial of service when the client processes them.
Engineers using go-git v5 before 5.13.0 or the listed affected v4 packages should check their dependencies.