fix(deps): upgrade go-git to v5.17.1 to fix CVE (idx file DoS)#717
Merged
michaeljguarino merged 1 commit intomainfrom Apr 1, 2026
Merged
fix(deps): upgrade go-git to v5.17.1 to fix CVE (idx file DoS)#717michaeljguarino merged 1 commit intomainfrom
michaeljguarino merged 1 commit intomainfrom
Conversation
Upgrade github.com/go-git/go-git/v5 from v5.16.5 to v5.17.1 to address a security vulnerability where a maliciously crafted .idx file can cause asymmetric memory consumption, potentially leading to denial-of-service.
Contributor
Author
There was a problem hiding this comment.
This PR was generated by the claude (engine: claude) agent runtime. Here's some useful information you might want to know to evaluate
the ai's perfomance:
| Name | Details |
|---|---|
| 💬 Prompt | Security scanners have found the following vulnerability in our cluster:... |
| 🔗 Run history | View run history |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
michaeljguarino
approved these changes
Apr 1, 2026
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
github.com/go-git/go-git/v5from v5.16.5 to v5.17.1.idxfile can cause asymmetric memory consumption leading to denial-of-service (DoS)ghcr.io/pluralsh/console:0.12.10Details
Vulnerability: A maliciously crafted
.idxfile can cause asymmetric memory consumption, potentially exhausting available memory and resulting in a denial-of-service (DoS) condition.Exploitation requires: Write access to the local repository's
.gitdirectory to create or alter existing.idxfiles.Fix version: v5.17.1
Test Plan
go mod tidyto update go.sum🤖 Generated with Claude Code