{"id":"GHSA-r9px-m959-cxf4","revision":"fa35296c576642538de8d653ac27e03e","records":[{"revision":"fa35296c576642538de8d653ac27e03e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-r9px-m959-cxf4","aliases":["CVE-2025-21614","GO-2025-3367"],"title":"go-git clients vulnerable to DoS via maliciously crafted Git server replies","description":"### Impact\nA 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. \n\nThis is a `go-git` implementation issue and does not affect the upstream `git` cli.\n\n### Patches\nUsers running versions of `go-git` from `v4` and above are recommended to upgrade to `v5.13` in order to mitigate this vulnerability.\n\n### Workarounds\nIn 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.\n\n## Credit\nThanks to Ionut Lalu for responsibly disclosing this vulnerability to us.","state":0,"publishedAt":"2025-01-06T16:20:28+00:00","modifiedAt":"2026-09-10T03:50:22.1784897+00:00","affected":[{"ecosystem":"Go","name":"gopkg.in/src-d/go-git.v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"last_affected","version":"4.13.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.13.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/go-git/go-git","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"last_affected","version":"4.13.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/go-git/go-git/security/advisories/GHSA-r9px-m959-cxf4","https://nvd.nist.gov/vuln/detail/CVE-2025-21614","https://github.com/go-git/go-git"],"sourceUrl":"https://github.com/advisories/GHSA-r9px-m959-cxf4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-r9px-m959-cxf4","identifiers":["GHSA-r9px-m959-cxf4","CVE-2025-21614","GO-2025-3367"]},"retained":false,"historicalAffected":[]}],"coverage":[]}