Go-git
go-git Credential leak via cross-host redirect in smart HTTP transport
go-git is an extensible git implementation library written in pure Go. Prior to versions 5.18.0 and 6.0.0-alpha.2, go-git may leak HTTP authentication credentials when following redirects during smart-HTTP clone and fetch operations. This issue has been patched in versions 5.18.0 and 6.0.0-alpha.2.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.4high · scored by NVD · CWE-522
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
go-git go-git
- < 5.18.0
- < 6.0.0-alpha.2
Fixed in 5.18.0, 6.0.0-alpha.2
Mitigation
Upgrade go-git to 5.18.0 or 6.0.0-alpha.2 or later.
References
- Vendor advisory github.com/go-git/go-git/security/advisories/G…
- Release notes github.com/go-git/go-git/releases/tag/v5.18.0
- Release notes github.com/go-git/go-git/releases/tag/v6.0.0-a…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.