web-token/jwt-encryption Security Advisories for 3.2.2 (5)
-
dir, ECDH-ES and ECDH-SS accept a non-empty JWE Encrypted Key, so token strings are malleable
Affected version: <=3.2.10
Reported by:
FriendsOfPHP/security-advisories -
JWE and JWS loaders try every recipient or signature of a token, so a small token multiplies the PBES2 iteration cap (denial of service)
Affected version: >=0.5.0,<=3.2.10
Reported by:
FriendsOfPHP/security-advisories -
JWS and JWE serializers decode attacker-controlled JSON without bounds before verification (CPU and memory denial of service)
Affected version: <=3.2.10
Reported by:
FriendsOfPHP/security-advisories -
Direct encryption (dir) does not check the key size: with a key of half the required size, AES-CBC-HMAC content is encrypted under an all-zero AES key and anyone holding the token can read it
Affected version: <=3.2.10
Reported by:
FriendsOfPHP/security-advisories -
Denial of service through the shared headers of a general JSON JWE processed again for each recipient
Affected version: <=3.2.10
Reported by:
FriendsOfPHP/security-advisories