Skip to content

Update module github.com/golang-jwt/jwt/v5 to v5.2.2 [SECURITY]#61

Merged
descope[bot] merged 1 commit intomainfrom
renovate/go-github.com-golang-jwt-jwt-v5-vulnerability
Mar 21, 2025
Merged

Update module github.com/golang-jwt/jwt/v5 to v5.2.2 [SECURITY]#61
descope[bot] merged 1 commit intomainfrom
renovate/go-github.com-golang-jwt-jwt-v5-vulnerability

Conversation

@descope
Copy link
Contributor

@descope descope bot commented Mar 21, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
github.com/golang-jwt/jwt/v5 indirect patch v5.2.1 -> v5.2.2 OpenSSF Scorecard

GitHub Vulnerability Alerts

CVE-2025-30204

Summary

Function parse.ParseUnverified currently splits (via a call to strings.Split) its argument (which is untrusted data) on periods.

As a result, in the face of a malicious request whose Authorization header consists of Bearer followed by many period characters, a call to that function incurs allocations to the tune of O(n) bytes (where n stands for the length of the function's argument), with a constant factor of about 16. Relevant weakness: CWE-405: Asymmetric Resource Consumption (Amplification)

Details

See parse.ParseUnverified

Impact

Excessive memory allocation


Release Notes

golang-jwt/jwt (github.com/golang-jwt/jwt/v5)

v5.2.2

Compare Source

What's Changed

New Contributors

Full Changelog: golang-jwt/jwt@v5.2.1...v5.2.2


Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Jerusalem, 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 has been generated by Renovate Bot.

@descope descope bot added the security label Mar 21, 2025
@descope descope bot enabled auto-merge (squash) March 21, 2025 23:35
@descope descope bot merged commit a6191bf into main Mar 21, 2025
1 check passed
@descope descope bot deleted the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch March 21, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants