Skip to content

fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - #134

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/go-github.com-golang-jwt-jwt-v5-vulnerability
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/go-github.com-golang-jwt-jwt-v5-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/golang-jwt/jwt/v5 v5.2.1v5.2.2 age confidence

jwt-go allows excessive memory allocation during header parsing

CVE-2025-30204 / GHSA-mh63-6h87-95cp

More information

Details

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

Severity

  • CVSS Score: 8.7 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


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: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed Aug 28, 2026
@renovate renovate Bot closed this Aug 28, 2026
@renovate
renovate Bot deleted the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch August 28, 2026 14:03
@renovate renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] Aug 28, 2026
@renovate renovate Bot reopened this Aug 28, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch 2 times, most recently from 911b182 to 8d73d28 Compare August 28, 2026 19:49
@renovate renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed Aug 29, 2026
@renovate renovate Bot closed this Aug 29, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] Aug 30, 2026
@renovate renovate Bot reopened this Aug 30, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch 2 times, most recently from 8d73d28 to f6ce4d1 Compare August 30, 2026 01:32
@renovate renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed Aug 31, 2026
@renovate renovate Bot closed this Aug 31, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] Aug 31, 2026
@renovate renovate Bot reopened this Aug 31, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch 2 times, most recently from f6ce4d1 to c130174 Compare August 31, 2026 15:50
@renovate renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed Sep 2, 2026
@renovate renovate Bot closed this Sep 2, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] Sep 2, 2026
@renovate renovate Bot reopened this Sep 2, 2026
@renovate
renovate Bot force-pushed the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch 2 times, most recently from c130174 to 73b469c Compare September 2, 2026 12:11
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.

0 participants