Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 27, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/go-jose/go-jose/v3 v3.0.3v3.0.4 age confidence

GitHub Vulnerability Alerts

CVE-2025-27144

Impact

When parsing compact JWS or JWE input, go-jose could use excessive memory. The code used strings.Split(token, ".") to split JWT tokens, which is vulnerable to excessive memory consumption when processing maliciously crafted tokens with a large number of '.' characters. An attacker could exploit this by sending numerous malformed tokens, leading to memory exhaustion and a Denial of Service.

Patches

Version 4.0.5 fixes this issue

Workarounds

Applications could pre-validate payloads passed to go-jose do not contain an excessive number of '.' characters.

References

This is the same sort of issue as in the golang.org/x/oauth2/jws package as CVE-2025-22868 and Go issue https://go.dev/issue/71490.


Release Notes

go-jose/go-jose (github.com/go-jose/go-jose/v3)

v3.0.4

Compare Source

What's Changed

Backport fix for GHSA-c6gw-w398-hv78 CVE-2025-27144
#​174

Full Changelog: go-jose/go-jose@v3.0.3...v3.0.4


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 27, 2025

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot changed the title Update module github.com/go-jose/go-jose/v3 to v3.0.4 [SECURITY] Update module github.com/go-jose/go-jose/v3 to v3.0.4 [SECURITY] - autoclosed Oct 10, 2025
@renovate renovate bot closed this Oct 10, 2025
@renovate renovate bot deleted the renovate/go-github.com-go-jose-go-jose-v3-vulnerability branch October 10, 2025 13:45
@renovate renovate bot changed the title Update module github.com/go-jose/go-jose/v3 to v3.0.4 [SECURITY] - autoclosed Update module github.com/go-jose/go-jose/v3 to v3.0.4 [SECURITY] Oct 10, 2025
@renovate renovate bot reopened this Oct 10, 2025
@renovate renovate bot force-pushed the renovate/go-github.com-go-jose-go-jose-v3-vulnerability branch from f34c476 to 85bccb4 Compare October 10, 2025 18:43
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