fix: upgrade go-git to v5.19.1 to fix security vulnerability#754
Open
plural-copilot[bot] wants to merge 1 commit into
Open
fix: upgrade go-git to v5.19.1 to fix security vulnerability#754plural-copilot[bot] wants to merge 1 commit into
plural-copilot[bot] wants to merge 1 commit into
Conversation
Security scanners identified a path validation vulnerability in go-git v5.19.0 that could allow crafted repositories to modify files outside the intended checkout target, including the repository's .git directory. This commit upgrades github.com/go-git/go-git/v5 from v5.19.0 to v5.19.1 which includes fixes for the vulnerability. Changes: - Upgrade go-git dependency from v5.19.0 to v5.19.1 in go.mod - Update go.sum with new dependency checksums - Update test.Dockerfile Go version from 1.25.7 to 1.26.3 for compatibility Verification: - Docker build completed successfully with new dependency - All 173 tests passed with no regressions Fixes: ghcr.io/pluralsh/console:sha-63e85b1 vulnerability
Contributor
Author
There was a problem hiding this comment.
This PR was generated by the claude Plural 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.
|
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
This PR upgrades
github.com/go-git/go-git/v5from v5.19.0 to v5.19.1 to address a critical path validation security vulnerability identified by security scanners inghcr.io/pluralsh/console:sha-63e85b1.Vulnerability Details
The go-git v5.19.0 vulnerability allows crafted repository data to affect files outside the intended checkout target, including the repository's
.gitdirectory. This could potentially allow malicious repositories to manipulate git metadata or other files on the system.Changes
github.com/go-git/go-git/v5from v5.19.0 to v5.19.1 ingo.modgo.sumwith new dependency checksumstest.DockerfileGo version from 1.25.7 to 1.26.3 for compatibilityVerification
Risk Assessment
Low Risk: This is a patch version security update with no API changes. All existing tests pass without modification.
References
github.com/go-git/go-git/v5