Skip to content

fix(security): upgrade go-git to v5.17.1 to fix DoS vulnerability#8

Open
plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/upgrade-go-git-1712152000000
Open

fix(security): upgrade go-git to v5.17.1 to fix DoS vulnerability#8
plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/upgrade-go-git-1712152000000

Conversation

@plural-copilot
Copy link
Copy Markdown

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

Summary

  • Upgrades github.com/go-git/go-git/v5 from v5.16.5 to v5.17.1
  • Addresses a denial-of-service vulnerability where a maliciously crafted .idx file could cause asymmetric memory consumption, potentially exhausting available memory
  • Exploitation requires write access to the local repository's .git directory

Security Advisory

This upgrade fixes a vulnerability in go-git versions 5.0.0 to 5.17.0. A maliciously crafted .idx file can cause asymmetric memory consumption, potentially resulting in a denial-of-service (DoS) condition.

Changes

File Purpose
go.mod Updated go-git dependency version from v5.16.5 to v5.17.1
go.sum Updated checksums for new go-git version

Verification

  • ✅ Code compiles successfully with the updated dependency
  • ✅ All unit tests pass (testscript integration test has a pre-existing infrastructure issue unrelated to this change)

Upgrades github.com/go-git/go-git/v5 from v5.16.5 to v5.17.1 to address
a denial-of-service vulnerability where a maliciously crafted .idx file
could cause asymmetric memory consumption.
Copy link
Copy Markdown
Author

@plural-copilot plural-copilot Bot left a comment

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