Skip to content

Fix Dependabot security alerts: bump go-jose and jsonparser#35

Open
methodofaction wants to merge 1 commit into
mainfrom
fix-dependabot-security-alerts-main
Open

Fix Dependabot security alerts: bump go-jose and jsonparser#35
methodofaction wants to merge 1 commit into
mainfrom
fix-dependabot-security-alerts-main

Conversation

@methodofaction
Copy link
Copy Markdown

Summary

Resolves the open Dependabot security alerts on main by bumping vulnerable indirect dependencies.

Both bumps applied as indirect deps via go get + go mod tidy. No source changes.

Test plan

  • go build ./... passes
  • go test ./... passes
  • Confirm Dependabot alerts auto-close after merge

🤖 Generated with Claude Code

- github.com/go-jose/go-jose/v4: v4.0.5 -> v4.1.4 (alert #10, high)
  Fixes JWE decryption panic vulnerability.
- github.com/buger/jsonparser: v1.1.1 -> v1.1.2 (alert #9, high)
  Fixes denial of service vulnerability.

golang.org/x/crypto is already at v0.47.0 (>= v0.45.0), which patches
alerts #7 and #8; those alerts should auto-close on next Dependabot scan.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates vulnerable indirect Go dependencies to resolve active Dependabot security alerts in this module (github.com/invopop/gobl.ticketbai), without changing any application/source code.

Changes:

  • Bump github.com/go-jose/go-jose/v4 indirect dependency from v4.0.5 to v4.1.4.
  • Bump github.com/buger/jsonparser indirect dependency from v1.1.1 to v1.1.2.
  • Regenerate go.sum entries accordingly (consistent with go get + go mod tidy).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Updates indirect dependency versions for go-jose/v4 and jsonparser.
go.sum Updates module checksums to match the bumped indirect dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants