{"answers":{"affected":"6 open source packages ship an affected version, including github.com/go-git/go-git/v5 and gopkg.in/src-d/go-git.v4. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-49568 in the wild and no public exploit code.","fix":"Upgrade github.com/go-git/go-git/v5 to 5.11.0 or later.","what":"CVE-2023-49568 is a high-severity denial of service vulnerability in go-git, published on 12 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-49568 and fix it if it is affected.\n\nWhat it is: CVE-2023-49568 is a high-severity denial of service vulnerability in go-git, published on 12 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-49568 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/go-git/go-git/v5 (Go): affected all versions; fixed in 5.11.0\n- github.com/go-git/go-git/v5 (Go): affected all versions; fixed in 5.11.0\n- github.com/go-git/go-git/v5 (Go): affected from 5.0.0; fixed in 5.11.0\n- gopkg.in/src-d/go-git.v4 (Go): affected from 4.7.1; no fix listed\n- gopkg.in/src-d/go-git.v4 (Go): affected from 4.7.1 up to 4.13.1; no fix listed\n- gopkg.in/src-d/go-git.v4 (Go): affected from 4.7.1 up to 4.13.1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-49568/ (Markdown: https://insights.sbomify.com/CVE-2023-49568/index.md)","id":"CVE-2023-49568","markdown":"https://insights.sbomify.com/CVE-2023-49568/index.md","name":"CVE-2023-49568","record":{"aliases":["AZL-33892","AZL-35095","AZL-39595","CLEANSTART-2026-XB80449","DEBIAN-CVE-2023-49568","GHSA-mw99-9chc-xw7r","GO-2024-2466","UBUNTU-CVE-2023-49568"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go Git library","requires_auth":"none","summary":"Attackers can cause resource exhaustion and denial of service in go-git clients by sending maliciously crafted Git server responses.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Bitdefender","cpe":[{"product":"go-git","vendor":"go-git_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Maliciously crafted Git server replies can cause DoS on go-git clients","id":"CVE-2023-49568","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":6,"n_references":1,"next":{"headline":"Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients","id":"CVE-2023-49569"},"packages":[{"ecosystem":"Go","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-git/go-git/v5","purl":null,"source":"GHSA-mw99-9chc-xw7r"},{"ecosystem":"Go","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"GHSA-mw99-9chc-xw7r"},{"ecosystem":"Go","fixed":["5.11.0"],"introduced":["5.0.0"],"last_affected":[],"package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"GO-2024-2466"},{"ecosystem":"Go","fixed":[],"introduced":["4.7.1"],"last_affected":[],"package":"gopkg.in/src-d/go-git.v4","purl":"pkg:golang/gopkg.in/src-d/go-git.v4","source":"GO-2024-2466"},{"ecosystem":"Go","fixed":[],"introduced":["4.7.1"],"last_affected":["4.13.1"],"package":"gopkg.in/src-d/go-git.v4","purl":null,"source":"GHSA-mw99-9chc-xw7r"},{"ecosystem":"Go","fixed":[],"introduced":["4.7.1"],"last_affected":["4.13.1"],"package":"gopkg.in/src-d/go-git.v4","purl":"pkg:golang/gopkg.in/src-d/go-git.v4","source":"GHSA-mw99-9chc-xw7r"}],"prev":{"headline":"Insecure Trust of certificates using collision hash functions in Bitdefender Total Security HTTPS Scanning (VA-11239)","id":"CVE-2023-49567"},"products":["go-git"],"published":"2024-01-12","related":[{"cvss_score":9.8,"headline":"Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients","id":"CVE-2023-49569","kev_date_added":null,"published":"2024-01-12"},{"cvss_score":9.2,"headline":"go-git has an Argument Injection via the URL field","id":"CVE-2025-21613","kev_date_added":null,"published":"2025-01-06"},{"cvss_score":7.5,"headline":"go-git clients vulnerable to DoS via maliciously crafted Git server replies","id":"CVE-2025-21614","kev_date_added":null,"published":"2025-01-06"},{"cvss_score":7,"headline":"go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git","id":"CVE-2026-45022","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":5.4,"headline":"go-git: Crafted repositories may modify main and submodule .git directories","id":"CVE-2026-45571","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":5,"headline":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","id":"CVE-2026-34165","kev_date_added":null,"published":"2026-03-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["go-git"]},"summary":"Attackers can cause resource exhaustion and denial of service in go-git clients by sending maliciously crafted Git server responses.","url":"https://insights.sbomify.com/CVE-2023-49568/"}