{"id":"CVE-2023-49568","aliases":["CVE-2023-49568","GHSA-mw99-9chc-xw7r","GO-2024-2466"],"related":["CGA-wwh6-vmmm-85jv"],"kind":"vulnerability","state":"published","title":"Maliciously crafted Git server replies can cause DoS on go-git clients","summary":"A 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A 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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Denial of service in github.com/go-git/go-git/v5 and gopkg.in/src-d/go-git.v4","format":"markdown","source":"go"},{"lang":"es","text":"Se descubrió una vulnerabilidad de denegación de servicio (DoS) en versiones de go-git anteriores a la v5.11. Esta vulnerabilidad permite a un atacante realizar ataques de denegación de servicio proporcionando respuestas especialmente manipuladas desde un servidor Git que provoca el agotamiento de los recursos en los clientes go-git. Las aplicaciones que utilizan únicamente el sistema de archivos en memoria compatible con go-git no se ven afectadas por esta vulnerabilidad. Este es un problema de implementación de go-git y no afecta el cli de git ascendente.","source":"nvd"}],"published":"2023-12-27T15:06:52.000Z","modified":"2026-09-10T03:49:59.657Z","severity":{"scorer":"Bitdefender","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Bitdefender","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"5.11.0","status":"affected"}],"vendor":"go-git","product":"go-git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.11.0"}],"ecosystem":"Go","package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.7.1","status":"affected","lastAffected":"4.13.1"}],"ecosystem":"Go","package":"gopkg.in/src-d/go-git.v4","purl":"pkg:golang/gopkg.in/src-d/go-git.v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.7.1","status":"affected"}],"ecosystem":"Go","package":"gopkg.in/src-d/go-git.v4","purl":"pkg:golang/gopkg.in/src-d/go-git.v4","source":"go"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.11.0"}],"ecosystem":"Go","package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"go"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"5.11.0"}],"vendor":"go-git_project","product":"go-git","cpe":"cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49568","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/go-git/go-git","tags":["package"],"sources":["ghsa"]}],"credits":["Ionuț Lalu","Ionut Lalu"],"assigner":"Bitdefender","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-01-12T18:15:52.909Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-49568","url":"https://www.cve.org/CVERecord?id=CVE-2023-49568","licence":"CVE Terms of Use","modified":"2025-06-17T21:09:18.035Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mw99-9chc-xw7r","url":"https://github.com/advisories/GHSA-mw99-9chc-xw7r","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:59.657Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2466","url":"https://pkg.go.dev/vuln/GO-2024-2466","licence":"CC-BY-4.0","modified":"2026-02-04T04:24:24.529Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-49568","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49568","licence":"Public domain","modified":"2026-06-17T06:36:10.430Z"}],"updatedAt":"2026-11-25T22:58:32.091Z","epss":{"score":0.00698,"percentile":0.54342,"date":"2026-12-01T12:00:22.000Z"}}