chore(deps): bump go-git to v5.19.1 to address Snyk vulns#2453
Closed
c-julin wants to merge 1 commit into
Closed
Conversation
Upgrades github.com/go-git/go-git/v5 from 5.17.0 -> 5.19.1, resolving: - SNYK-GOLANG-GITHUBCOMGOGITGOGITV5PLUMBINGTRANSPORTHTTP-16109639 HIGH: Insufficiently Protected Credentials (CVE-2026-41506) - SNYK-GOLANG-GITHUBCOMGOGITGOGITV5PLUMBINGOBJECT-16638689 HIGH: Incorrect Behavior Order: Validate Before Canonicalize - SNYK-GOLANG-GITHUBCOMGOGITGOGITV5PLUMBINGFORMATINDEX-15855246 MEDIUM: Improper Validation of Array Index - SNYK-GOLANG-GITHUBCOMGOGITGOGITV5PLUMBINGFORMATINDEX-15855220 MEDIUM: Allocation of Resources Without Limits or Throttling Indirect bumps pulled in by go-git: go-billy/v5 5.8.0 -> 5.9.0, pjbgf/sha1cd 0.5.0 -> 0.6.0, golang.org/x/exp. The remaining open Snyk finding (vmihailenco/msgpack/v5, CVE-2026-2454) has no upstream fix available and is left for ignore-with-justification triage in a follow-up.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves 4 open Snyk findings against
github.com/go-git/go-git/v5by bumping it from5.17.0->5.19.1.Indirect bumps pulled in by the go-git upgrade:
go-billy/v55.8.0 -> 5.9.0,pjbgf/sha1cd0.5.0 -> 0.6.0,golang.org/x/expdate bump.Out of scope
One open Snyk finding remains:
github.com/vmihailenco/msgpack/v5@5.4.1(CVE-2026-2454, MEDIUM, DoS via malformed input). Upstream has no released fix (fixedIn: []), and our usage is bounded to operator-allowlisted Kafka topics. Recommendsnyk ignorewith a written reachability rationale + expiry in a follow-up.Test plan
go build ./...cleango vet ./...cleangovulncheck ./...no longer reports go-git findings (remaining hits aregithub.com/docker/dockerinpkg/testutil/, pre-existing and test-only)