REDHAT-BUG-2468126: Medium severity go-git go-git vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go-gitto a version that resolves this vulnerability.Fixed in 5.18.0 - Upgrade
Upgrade
go-gitto a version that resolves this vulnerability.Fixed in 6.0.0-alpha.2
Event History
Frequently Asked Questions
Which operations are affected by this credential leak?
The issue affects smart-HTTP clone and fetch operations when go-git follows HTTP redirects. HTTP authentication credentials may be sent to the redirected destination.
What versions contain the fix?
The issue is patched in go-git version 5.18.0 and version 6.0.0-alpha.2. Versions prior to those releases are affected.