Skip to content

fix(deps): upgrade go-jose/v4 to v4.0.5 to address CVE-2025-27144 #1348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 10, 2025

Conversation

neumachen
Copy link
Contributor

@neumachen neumachen commented Apr 10, 2025

Description

This PR upgrades go-jose/v4 from v4.0.2 to v4.0.5 to address CVE-2025-27144, which could allow attackers to cause a denial of service through excessive memory consumption when processing maliciously crafted tokens with a large number of period characters.

Additional dependency updates included:

  • github.com/stretchr/testify from v1.9.0 to v1.10.0
  • golang.org/x/crypto from v0.31.0 to v0.32.0
  • golang.org/x/sys from v0.28.0 to v0.29.0

Motivation and Context

This PR addresses: BED-5619

How Has This Been Tested?

The dependency update has been tested by running the existing test suite to ensure no regressions were introduced. The updated version of go-jose/v4 includes the fix for the vulnerability while maintaining API compatibility.

Types of changes

  • Chore (a change that does not modify the application functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist:

This commit upgrades [go-jose/v4](github.com/go-jose/go-jose/v4) from
v4.0.2 to v4.0.5 to address
[CVE-2025-27144](GHSA-c6gw-w398-hv78),
which could allow attackers to cause a denial of service through
excessive memory consumption when processing maliciously crafted tokens
with a large number of period characters.

Additional dependency updates:
- github.com/stretchr/testify from v1.9.0 to v1.10.0
- golang.org/x/crypto from v0.31.0 to v0.32.0
- golang.org/x/sys from v0.28.0 to v0.29.0

Ref: [BED-5619](https://specterops.atlassian.net/browse/BED-5619)
@neumachen neumachen requested a review from superlinkx April 10, 2025 19:03
@neumachen neumachen self-assigned this Apr 10, 2025
@neumachen neumachen merged commit e6c2490 into main Apr 10, 2025
8 checks passed
@neumachen neumachen deleted the patch/bed-5619 branch April 10, 2025 20:33
@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants