{"id":"GHSA-mw99-9chc-xw7r","revision":"94397096492640d696273ea71b480381","records":[{"revision":"94397096492640d696273ea71b480381","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-mw99-9chc-xw7r","aliases":["CVE-2023-49568","GO-2024-2466"],"title":"Maliciously crafted Git server replies can cause DoS on go-git clients","description":"### Impact\nA denial of service (DoS) vulnerability was discovered in go-git versions prior to `v5.11`. 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\nApplications using only the in-memory filesystem supported by `go-git` are not affected by this vulnerability.\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.11` 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.\n\n### References\n- [GHSA-mw99-9chc-xw7r](https://github.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)\n","state":0,"publishedAt":"2023-12-27T15:06:52+00:00","modifiedAt":"2026-09-10T03:49:59.6577519+00:00","affected":[{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.11.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"gopkg.in/src-d/go-git.v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.7.1"},{"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-mw99-9chc-xw7r","https://nvd.nist.gov/vuln/detail/CVE-2023-49568","https://github.com/go-git/go-git"],"sourceUrl":"https://github.com/advisories/GHSA-mw99-9chc-xw7r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mw99-9chc-xw7r","identifiers":["GHSA-mw99-9chc-xw7r","CVE-2023-49568","GO-2024-2466"]},"retained":false,"historicalAffected":[]}],"coverage":[]}