Skip to content
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

jws/jwe: split token into fixed number of parts (#1308) #1309

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

lestrrat
Copy link
Collaborator

@lestrrat lestrrat commented Feb 26, 2025

this avoid to use eccessive memory when processing maliciously crafted tokens with a large number of '.' characters

refs #1308 , for v2 line

this avoid to use eccessive memory when processing maliciously
crafted tokens with a large number of '.' characters

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
@lestrrat lestrrat merged commit de7d95f into v2 Feb 26, 2025
32 checks passed
@lestrrat lestrrat deleted the gh-1308-for-v2 branch February 26, 2025 05:24
@drakkan
Copy link
Contributor

drakkan commented Mar 9, 2025

an improvement for this fix is under discussion here

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.

2 participants