web-token/jwt-framework Security Advisories for 4.0.8 (10)
-
AES key wrapping accepts oct keys shorter than the algorithm key size and pads them with zero bytes: an empty key wraps every CEK under an all-zero key
Affected version: <3.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
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.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
Reported by:
FriendsOfPHP/security-advisories -
Denial of service: parsing a JWS in the JSON General serialization takes a time quadratic in its number of signatures
Affected version: <3.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
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.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
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.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
Reported by:
FriendsOfPHP/security-advisories -
RSA keys of any size are accepted: a key chosen by the sender of a token costs seconds of CPU per operation (RSA-PSS and RSA encryption, and every RSA algorithm without GMP)
Affected version: <3.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
Reported by:
FriendsOfPHP/security-advisories -
RSA-OAEP accepts an encrypted key made of several RSA blocks, enabling recovery of another JWE's content encryption key through a decryption oracle
Affected version: <3.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
Reported by:
FriendsOfPHP/security-advisories -
ECDH-ES: an oversized "epk" coordinate costs seconds to minutes of CPU per token when PHP has no GMP extension
Affected version: >=2.2.0,<3.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
Reported by:
FriendsOfPHP/security-advisories -
dir, ECDH-ES and ECDH-SS accept a non-empty JWE Encrypted Key, so token strings are malleable
Affected version: <3.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
Reported by:
FriendsOfPHP/security-advisories -
RSA private key recoverable through a timing side channel in RSA-OAEP and RSA1_5 decryption
Affected version: <3.4.13|>=4.0.0,<4.0.9|>=4.1.0,<4.1.11|>=4.2.0,<4.2.6
Reported by:
FriendsOfPHP/security-advisories