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.
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub