Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix decryption DoS: Reject too high p2c (#66)
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# v3.0.1 | ||
|
||
Fixed: | ||
- Security issue: an attacker specifying a large "p2c" value can cause | ||
JSONWebEncryption.Decrypt and JSONWebEncryption.DecryptMulti to consume large | ||
amounts of CPU, causing a DoS. Thanks to Matt Schwager (@mschwager) for the | ||
disclosure and to Tom Tervoort for originally publishing the category of attack. | ||
https://i.blackhat.com/BH-US-23/Presentations/US-23-Tervoort-Three-New-Attacks-Against-JSON-Web-Tokens.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters