fix: remediate Dependabot vulnerabilities#228
Conversation
Bump go-git/v5 5.16.2->5.19.1 and golang.org/x/crypto 0.45.0->0.52.0
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
pkaeding
left a comment
There was a problem hiding this comment.
the test failure is "Unknown project key demo-dan-042021-2" -- is that expected?
Yes — that failure is preexisting and unrelated to this PR. The Nothing in this diff touches that — it's purely a |
Summary
Remediates all 21 open Dependabot alerts, which fall across two (indirect) dependencies. Both are transitive; upgrading pulls in the patched versions and updates the vendored tree via
go mod tidy+go mod vendor.golang.org/x/cryptov0.45.0->v0.52.0— resolves 16 alerts (7 CRITICAL, 2 HIGH, 7 MODERATE) in the SSH stack (auth bypasses, DoS/panics, cert restriction bypass, key-constraint enforcement).github.com/go-git/go-git/v5v5.16.2->v5.19.1— resolves 5 alerts (1 HIGH, 3 MODERATE, 1 LOW): object-parsing inconsistency, credential leak via cross-host redirect,.gitdir modification, idx/pack integrity + memory issues, SSH single-quote escaping.Transitive bumps carried in by the above:
pjbgf/sha1cd0.3.2->0.6.0,golang.org/x/sys0.38.0->0.45.0,golang.org/x/text0.31.0->0.37.0, plus new indirectklauspost/cpuid/v2. Thegodirective moves1.24.0->1.25.0as required by the upgradedgo-git; CI provisions Go fromgo.mod(go-version-file: go.mod) so this is picked up automatically.No application code changed.
go build ./...,go test ./..., and thegolangci-lintpre-commit hook all pass locally.Resolved advisories
Link to Devin session: https://app.devin.ai/sessions/5c26e15ad7154257a668a4d28481c70c
Requested by: @pkaeding