CVEfocus › CVE database › CVE-2023-49568

CVE-2023-49568Maliciously crafted Git server replies can cause DoS on go-git clients

CVSS 7.5 HighEPSS 1.0% (higher than 60% of CVEs)Published 2024-01-12Updated 2025-06-17Assigner: Bitdefender

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. Applications using only the in-memory filesystem supported by go-git are not affected by this vulnerability. This is a go-git implementation issue and does not affect the upstream git cli.

CWE-20

What to do

Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
4Fix pending
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10golang-github-go-git-go-gitNot affected
vulnerable_code_not_present
Ubuntu 24.04golang-github-go-git-go-gitFix pending5.4.2-4ubuntu0.24.04.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-49568
Ubuntu 22.04golang-github-go-git-go-gitFix pending5.4.2-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-49568
Debian 14golang-github-go-git-go-gitFixed5.11.0-1DEBIAN-CVE-2023-49568
Debian 13golang-github-go-git-go-gitFixed5.11.0-1DEBIAN-CVE-2023-49568
Debian 12golang-github-go-git-go-gitFix pendingDEBIAN-CVE-2023-49568
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Alpine Linux 3.24nfpmFixed2.35.2-r0ALPINE-CVE-2023-49568
Alpine Linux 3.23nfpmFixed2.35.2-r0ALPINE-CVE-2023-49568
Alpine Linux 3.22nfpmFixed2.35.2-r0ALPINE-CVE-2023-49568
Alpine Linux 3.21nfpmFixed2.35.2-r0ALPINE-CVE-2023-49568
Alpine Linux 3.20nfpmFixed2.35.2-r0ALPINE-CVE-2023-49568
Go librarygithub.com/go-git/go-git/v5Fixed5.11.0GO-2024-2466
Go librarygopkg.in/src-d/go-git.v4Fix pendingGO-2024-2466

What the vendor says

As published in the CVE record by Bitdefender, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: An upgrade to v. 5.11 fixes this issue

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.