Jwt Encryption Algorithm Rsa
Monthly
Unbounded RSA key parameters in web-token/jwt-framework and jwt-library allow a remote, unauthenticated attacker to consume seconds of server CPU per token processed by supplying a crafted RSA key. Affected releases are all versions before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11 and 4.2.x before 4.2.6; the practical vector is a DPoP proof whose public key arrives in the jwk header and is verified before authentication, and applications that only use keys they configure themselves are not exposed. There is no public exploit identified at time of analysis, but the availability-only impact is rated high (CVSS 4.0 8.2, VA:H; assessed CVSS 3.1 A:H) and the issue is prioritized for remediation this week.
RSA-OAEP decryption in web-token/jwt-framework and jwt-library accepts a JWE Encrypted Key composed of several RSA blocks instead of the single RSAES-OAEP ciphertext the standard requires, which turns the library into a decryption oracle that unauthenticated remote attackers holding the recipient's public key and a captured JWE can use to recover that token's content encryption key byte by byte. Affected deployments must decrypt with RSA-OAEP, RSA-OAEP-256 (or the experimental RSA-OAEP-384/512) and also accept an AES-CBC-HMAC content-encryption algorithm of sufficient HMAC key length, and must expose a signal that distinguishes a decrypted token from a rejected one; applications that accept only AES-GCM are exposed only to encrypted-key malleability and amplified per-block CPU cost, not to key recovery. Recovery is query-intensive rather than trivial - about 65,536 crafted tokens per recovered byte and roughly a million for a 32-byte CEK - so this is a conditional cryptographic weakness carrying an information-disclosure impact, not a default-configuration remote compromise; no public exploit code or confirmed active exploitation was identified at time of analysis, and vendor fixes are available for every affected branch.
Unbounded RSA key parameters in web-token/jwt-framework and jwt-library allow a remote, unauthenticated attacker to consume seconds of server CPU per token processed by supplying a crafted RSA key. Affected releases are all versions before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11 and 4.2.x before 4.2.6; the practical vector is a DPoP proof whose public key arrives in the jwk header and is verified before authentication, and applications that only use keys they configure themselves are not exposed. There is no public exploit identified at time of analysis, but the availability-only impact is rated high (CVSS 4.0 8.2, VA:H; assessed CVSS 3.1 A:H) and the issue is prioritized for remediation this week.
RSA-OAEP decryption in web-token/jwt-framework and jwt-library accepts a JWE Encrypted Key composed of several RSA blocks instead of the single RSAES-OAEP ciphertext the standard requires, which turns the library into a decryption oracle that unauthenticated remote attackers holding the recipient's public key and a captured JWE can use to recover that token's content encryption key byte by byte. Affected deployments must decrypt with RSA-OAEP, RSA-OAEP-256 (or the experimental RSA-OAEP-384/512) and also accept an AES-CBC-HMAC content-encryption algorithm of sufficient HMAC key length, and must expose a signal that distinguishes a decrypted token from a rejected one; applications that accept only AES-GCM are exposed only to encrypted-key malleability and amplified per-block CPU cost, not to key recovery. Recovery is query-intensive rather than trivial - about 65,536 crafted tokens per recovered byte and roughly a million for a 32-byte CEK - so this is a conditional cryptographic weakness carrying an information-disclosure impact, not a default-configuration remote compromise; no public exploit code or confirmed active exploitation was identified at time of analysis, and vendor fixes are available for every affected branch.