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.
References
Link | Resource |
---|---|
https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt | Release Notes Third Party Advisory |
https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/224/byte-to-bit-overflow-in-cbc | Patch Third Party Advisory |
https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/0d2bd649ea386539220d4facfe1f65eb1dadb86c | Third Party Advisory |
https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E |
Configurations
Configuration 1 (hide)
|
Information
Published : 2017-08-20 09:29
Updated : 2019-11-15 18:15
NVD link : CVE-2017-12972
Mitre link : CVE-2017-12972
JSON object : View
CWE
CWE-345
Insufficient Verification of Data Authenticity
Products Affected
connect2id
- nimbus_jose\+jwt