Skip to content

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

Merged
lestrrat merged 1 commit intov2from
gh-1308-for-v2
Feb 26, 2025
Merged

jws/jwe: split token into fixed number of parts (#1308)#1309
lestrrat merged 1 commit intov2from
gh-1308-for-v2

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

@lestrrat lestrrat restored the gh-1308-for-v2 branch April 16, 2025 07:28
@lestrrat lestrrat deleted the gh-1308-for-v2 branch April 16, 2025 07:43
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