GHSA-wj7g-m2wh-r3ccunknown
Crypt::JWT versions before 0.037_1 for Perl allow CPU exhaustion via an unbounded PBES2 iteration...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-136796
- https://github.com/DCIT/perl-Crypt-JWT/commit/13057ef8f51ddde66f1013e4eab2e0664d69d284.patch
- https://github.com/DCIT/perl-Crypt-JWT/commit/18b20fed11ae5d72c8ad298fb0d9f023e47ec953.patch
- https://metacpan.org/release/MIK/Crypt-JWT-0.038/changes
- https://github.com/advisories/GHSA-wj7g-m2wh-r3cc