Skip to content

chore(deps): update module github.com/golang-jwt/jwt/v4 to v4.5.2 [security] (main) #5440

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 21, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/golang-jwt/jwt/v4 v4.5.1 -> v4.5.2 age adoption passing confidence

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/v4)

v4.5.2

Compare Source

See GHSA-mh63-6h87-95cp

Full Changelog: golang-jwt/jwt@v4.5.1...v4.5.2


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 renovate bot requested review from a team as code owners March 21, 2025 22:20
@renovate renovate bot added the security label Mar 21, 2025
@renovate renovate bot requested review from GenPage and removed request for a team March 21, 2025 22:20
@renovate renovate bot enabled auto-merge (squash) March 21, 2025 22:20
@renovate renovate bot requested review from lukemassa and nitrocode March 21, 2025 22:20
@dosubot dosubot bot added the dependencies PRs that update a dependency file label Mar 21, 2025
@renovate renovate bot merged commit ce518ab into main Mar 21, 2025
36 of 39 checks passed
@renovate renovate bot deleted the renovate/main-go-github.com-golang-jwt-jwt-v4-vulnerability branch March 21, 2025 22:31
CaioAugustoo pushed a commit to CaioAugustoo/atlantis that referenced this pull request Mar 27, 2025
…curity] (main) (runatlantis#5440)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies PRs that update a dependency file security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants