Skip to content

fix(sec): update bytes and jsonwebtoken#1752

Draft
AnthonyMichaelTDM wants to merge 5 commits intoloco-rs:masterfrom
AnthonyMichaelTDM:dependencies
Draft

fix(sec): update bytes and jsonwebtoken#1752
AnthonyMichaelTDM wants to merge 5 commits intoloco-rs:masterfrom
AnthonyMichaelTDM:dependencies

Conversation

@AnthonyMichaelTDM
Copy link
Contributor

Updates jsonwebtoken to a version that fixes CVE-2026-25537 (authentication bypass via type confusion)

  • I don't have a poc demonstrating loco is vulnerable to this, but the POC in the gh security advisory (linked) seems similar to how jsonwebtoken is used in loco so it's better safe than sorry imo

Updates bytes to a version that fixes CVE-2026-25541 (integrer overflow)

@AnthonyMichaelTDM AnthonyMichaelTDM marked this pull request as draft March 9, 2026 12:55
@AnthonyMichaelTDM
Copy link
Contributor Author

idk, what do you think is the best way to introduce these features that'll work within the current test suite?

I'd like to avoid just choosing one option and not making it configurable through feature flags

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.

1 participant