Skip to content

fix(deps): upgrade go-git to v5.17.1 to fix CVE vulnerability - #7

Open
plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/upgrade-go-git-v5.17.1-1743624884000
Open

plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/upgrade-go-git-v5.17.1-1743624884000

Conversation

@plural-copilot

@plural-copilot plural-copilot Bot commented Apr 2, 2026

Copy link
Copy Markdown

Summary

  • Upgrades github.com/go-git/go-git/v5 from v5.16.5 to v5.17.1
  • Fixes security vulnerability: maliciously crafted .idx files can cause asymmetric memory consumption (DoS)
  • Addresses vulnerability found in docker image ghcr.io/pluralsh/git-server:v0.12.10

Changes

  • go.mod: Updated go-git version constraint to v5.17.1
  • go.sum: Updated checksums for new dependency version

Verification

  • Build verified successfully with Go 1.25
  • Tests ran successfully (git-related tests all passed; minor environment-specific failures unrelated to this change)

References

  • Fix Version: 5.17.1
  • CVE: go-git malicious .idx file memory consumption vulnerability

Upgrades github.com/go-git/go-git/v5 from v5.16.5 to v5.17.1 to address
a security vulnerability where maliciously crafted .idx files can cause
asymmetric memory consumption, potentially leading to denial-of-service.

This fixes the vulnerability found in docker image:
ghcr.io/pluralsh/git-server:v0.12.10

@plural-copilot plural-copilot Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.com/​go-git/​go-git/​v5@​v5.16.5 ⏵ v5.17.181 +1100 +3100100100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant