Skip to content

update go modules#4365

Closed
shahzadhaider1 wants to merge 1 commit into
trufflesecurity:mainfrom
shahzadhaider1:main
Closed

update go modules#4365
shahzadhaider1 wants to merge 1 commit into
trufflesecurity:mainfrom
shahzadhaider1:main

Conversation

@shahzadhaider1

Copy link
Copy Markdown
Contributor

Description:

  • Updated Go modules to upgrade github.com/bradleyfalzon/ghinstallation/v2 to the latest version (v2.16.0).
  • This upgrade ensures that the dependency on github.com/golang-jwt/jwt/v4 is bumped to v4.5.2, addressing a known security vulnerability.

Details:

The upgrade was necessary due to the following security advisory affecting jwt/v4 v4.5.1:
🔗 https://github.com/trufflesecurity/trufflehog/security/dependabot/44

Testing:

✅ Ran tests for the GitHub source, all tests passed.
✅ Performed a manual GitHub scan, and it worked as expected.

ghinstallation now depends on the fixed version (jwt/v4 v4.5.2) as of v2.16.0, so updating it resolves the issue transitively.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@shahzadhaider1 shahzadhaider1 self-assigned this Aug 5, 2025
@shahzadhaider1 shahzadhaider1 requested a review from a team as a code owner August 5, 2025 06:53
@kashifkhan0771 kashifkhan0771 requested a review from ahrav August 5, 2025 08:35

@kashifkhan0771 kashifkhan0771 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved from my end. I've also requested a review from @ahrav. I'm not sure if this change will have any side effects.

@shahzadhaider1

Copy link
Copy Markdown
Contributor Author

It looks like there's already an existing PR that addresses this: #4342.
I'll go ahead and close this one.

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.

2 participants