Skip to content

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

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

fix(deps): update module github.com/golang-jwt/jwt/v5 from v5.0.0 to v5.2.2 [security]#62
figure-renovate[bot] wants to merge 1 commit intomainfrom
renovate/go-github.com-golang-jwt-jwt-v5-vulnerability

Conversation

@figure-renovate
Copy link
Copy Markdown
Contributor

@figure-renovate figure-renovate bot commented Mar 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/golang-jwt/jwt/v5 v5.0.0 -> v5.2.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/v5)

v5.2.2

Compare Source

What's Changed

New Contributors

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

v5.2.1

Compare Source

What's Changed

New Contributors

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

v5.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: golang-jwt/jwt@v5.1.0...v5.2.0

v5.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: golang-jwt/jwt@v5.0.0...v5.1.0


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.


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

This PR has been generated by Renovate Bot.

@figure-renovate figure-renovate bot requested a review from a team as a code owner March 22, 2025 03:05
@figure-renovate
Copy link
Copy Markdown
Contributor Author

figure-renovate bot commented May 6, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: github.com/FigureTechnologies/kong-jwt-wallet imports
	github.com/cosmos/btcutil/bech32: cannot find module providing package github.com/cosmos/btcutil/bech32
go: github.com/FigureTechnologies/kong-jwt-wallet imports
	github.com/golang-jwt/jwt/v4: cannot find module providing package github.com/golang-jwt/jwt/v4
go: github.com/FigureTechnologies/kong-jwt-wallet/cmd/token imports
	github.com/btcsuite/btcd/btcec/v2: cannot find module providing package github.com/btcsuite/btcd/btcec/v2
go: github.com/FigureTechnologies/kong-jwt-wallet/signing imports
	github.com/btcsuite/btcd/btcec/v2/ecdsa: cannot find module providing package github.com/btcsuite/btcd/btcec/v2/ecdsa
go: github.com/FigureTechnologies/kong-jwt-wallet/cmd/jwt-wallet tested by
	github.com/FigureTechnologies/kong-jwt-wallet/cmd/jwt-wallet.test imports
	github.com/stretchr/testify/assert: cannot find module providing package github.com/stretchr/testify/assert

@figure-renovate figure-renovate bot force-pushed the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch from 8a6c42e to a7db1fb Compare May 6, 2025 18:26
@figure-renovate figure-renovate bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 from v5.0.0 to v5.2.2 [security] fix(deps): update module github.com/golang-jwt/jwt/v5 from v5.0.0 to v5.2.2 [security] - autoclosed Mar 28, 2026
@figure-renovate figure-renovate bot closed this Mar 28, 2026
@figure-renovate figure-renovate bot deleted the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch March 28, 2026 04:24
@figure-renovate figure-renovate bot changed the title fix(deps): update module github.com/golang-jwt/jwt/v5 from v5.0.0 to v5.2.2 [security] - autoclosed fix(deps): update module github.com/golang-jwt/jwt/v5 from v5.0.0 to v5.2.2 [security] Mar 31, 2026
@figure-renovate figure-renovate bot reopened this Mar 31, 2026
@figure-renovate figure-renovate bot force-pushed the renovate/go-github.com-golang-jwt-jwt-v5-vulnerability branch from f08ba0b to a7db1fb Compare March 31, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants