Vulnerability · Published Jan 12, 2024 · Assigned by Bitdefender

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

High 7.5

In plain English

A high-severity improper input validation in go-git from go-git. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 46.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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. 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20nfpm2.35.2-r0ALPINE-CVE-2023-49568
Alpine:v3.21nfpm2.35.2-r0ALPINE-CVE-2023-49568
Alpine:v3.22nfpm2.35.2-r0ALPINE-CVE-2023-49568
Alpine:v3.23nfpm2.35.2-r0ALPINE-CVE-2023-49568
Alpine:v3.24nfpm2.35.2-r0ALPINE-CVE-2023-49568
Debian:12golang-github-go-git-go-gitno fix listedDEBIAN-CVE-2023-49568
Debian:13golang-github-go-git-go-git5.11.0-1DEBIAN-CVE-2023-49568
Debian:14golang-github-go-git-go-git5.11.0-1DEBIAN-CVE-2023-49568
Gogithub.com/go-git/go-git/v55.11.0GHSA-mw99-9chc-xw7r
Gogithub.com/go-git/go-git/v55.11.0GO-2024-2466
Gogopkg.in/src-d/go-git.v4no fix listedGHSA-mw99-9chc-xw7r
Gogopkg.in/src-d/go-git.v4no fix listedGO-2024-2466

Affected products (as reported)

VendorProductVersions
go-git go-git 5.11.0

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References