Crypt::JWT versions before 0.037_1 for Perl allow CPU exhaustion via an unbounded PBES2 iteration count. For a token using a PBES2 key management algo...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:20.04:LTSlibcrypt-jwt-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibcrypt-jwt-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibcrypt-jwt-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibcrypt-jwt-perl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Crypt::JWT versions before 0.037_1 for Perl allow CPU exhaustion via an unbounded PBES2 iteration count. For a token using a PBES2 key management algorithm, decode_jwt passes the p2c header parameter to PBKDF2 as the iteration count without a range check, and derives the key before any integrity check. Unless accepted_alg rules it out, a token can select PBES2 whenever decode_jwt is given a symmetric key.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org