Jwt Experimental
Monthly
Undetected tampering of JWE tokens is possible in web-token/jwt-framework 1.2.0 before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 when the experimental Chacha20Poly1305 key-encryption algorithm is registered, because the Poly1305 tag is discarded during encryption and not verified during decryption. An attacker on the token path can modify the wrapped content encryption key without the tampering being detected, but the algorithm is opt-in and not enabled by default, so the risk is moderate and conditional and impact is integrity-only. No public exploit was identified at time of analysis, and the vendor advisory lists fixes in 3.4.10, 4.0.7, and 4.1.7 for the jwt-library branches.
Undetected tampering of JWE tokens is possible in web-token/jwt-framework 1.2.0 before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 when the experimental Chacha20Poly1305 key-encryption algorithm is registered, because the Poly1305 tag is discarded during encryption and not verified during decryption. An attacker on the token path can modify the wrapped content encryption key without the tampering being detected, but the algorithm is opt-in and not enabled by default, so the risk is moderate and conditional and impact is integrity-only. No public exploit was identified at time of analysis, and the vendor advisory lists fixes in 3.4.10, 4.0.7, and 4.1.7 for the jwt-library branches.