First published: Mon Jan 06 2025(Updated: )
go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.
Affected Software | Affected Version | How to fix |
---|---|---|
go-git | <5.13.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2335888 is considered critical due to the potential for arbitrary command execution.
To fix REDHAT-BUG-2335888, upgrade to go-git version 5.13.0 or later.
go-git versions prior to 5.13.0 are affected by REDHAT-BUG-2335888.
REDHAT-BUG-2335888 is an argument injection vulnerability.
Users of go-git versions earlier than 5.13.0 are affected by REDHAT-BUG-2335888.