Description
go-git is an extensible git implementation library written in pure Go. From version 5.0.0 to before version 5.17.1, a vulnerability has been identified in which a maliciously crafted .idx file can cause asymmetric memory consumption, potentially exhausting available memory and resulting in a denial-of-service (DoS) condition. Exploitation requires write access to the local repository's .git directory, it order to create or alter existing .idx files. This issue has been patched in version 5.17.1.
Affected products
go-git_project: go-git
References2
- github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp Vendor Advisory
- github.com/go-git/go-git/releases/tag/v5.17.1 ProductRelease Notes
Metrics
- CVSS 3.1
-
5.0
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 5 · as of 12 November 2026
- CWE
- CWE-191CWE-770
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.