In Nimbus JOSE+JWT before 4.39, there is no integer-overflow check when converting length values from bytes to bits, which allows attackers to conduct HMAC bypass attacks by shifting Additional Authenticated Data (AAD) and ciphertext so that different plaintext is obtained for the same HMAC.
{ "nvd_published_at": "2017-08-20T16:29:00Z", "github_reviewed_at": "2022-11-08T22:28:09Z", "severity": "HIGH", "github_reviewed": true, "cwe_ids": [ "CWE-345" ] }