fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.2.2 [security] - autoclosed#512
Conversation
…rity] Generated by renovateBot
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #512 +/- ##
==========================================
+ Coverage 74.12% 74.13% +0.01%
==========================================
Files 124 124
Lines 8764 8764
==========================================
+ Hits 6496 6497 +1
Misses 1678 1678
+ Partials 590 589 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
40256ea to
c941d46
Compare
bfc353c to
c941d46
Compare
|



This PR contains the following updates:
v5.2.1->v5.2.2GitHub Vulnerability Alerts
CVE-2025-30204
Summary
Function
parse.ParseUnverifiedcurrently 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
Bearerfollowed 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.ParseUnverifiedImpact
Excessive memory allocation
Release Notes
golang-jwt/jwt (github.com/golang-jwt/jwt/v5)
v5.2.2Compare Source
What's Changed
jwt.Parseexample to usejwt.WithValidMethodsby @mattt in https://github.com/golang-jwt/jwt/pull/425New Contributors
Full Changelog: golang-jwt/jwt@v5.2.1...v5.2.2
Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.