go-git
cpe:2.3:a:go-git_project:go-git:*:*:*:*:go:*:*
- < 5.19.0
- <= 6.0.0-alpha.2
A vulnerability exists in go-git, a Git implementation library in Go, prior to versions 5.19.0 and 6.0.0-alpha.3. The issue arises from go-git’s handling of malformed Git objects, particularly in commit or tag headers, which can lead to a decoded representation that differs from upstream Git's interpretation. This discrepancy can cause problems in commit signing and verification, as go-git may process a commit payload that is not an exact byte-for-byte match with the original object in the repository. Consequently, a signature might be incorrectly validated for a commit whose metadata does not accurately reflect the intended signed object.
This vulnerability can lead to incorrect commit signature verification, allowing a signature to be deemed valid even when the associated metadata does not accurately represent the signed object.
Users should upgrade to go-git versions 5.19.0 or 6.0.0-alpha.3 or later. Instructions for upgrading can be found in the go-git repository.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.