Live threats

All CVEs / Go-git Project

CVE-2023-49568Go-git Project Go-git

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
Jan 12, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-git.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-git/go-git/v5 < 5.11.0 5.11.0 go get github.com/go-git/go-git/v5@v5.11.0
Go github.com/go-git/go-git/v5 ≥ 5.0.0 < 5.11.0 5.11.0 go get github.com/go-git/go-git/v5@v5.11.0
Go gopkg.in/src-d/go-git.v4 ≥ 4.7.1 ≤ 4.13.1 no fixed version —
Go gopkg.in/src-d/go-git.v4 ≥ 4.7.1 no fixed version —

Per OSV / GitHub Advisories (GHSA-mw99-9chc-xw7r, GO-2024-2466). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
go-git_projectgo-git≥ 4.0.0 < 5.11.0

Official sources

References

Links published by the sources. Open them with care.