{"id":"CVE-2017-12972","published":"2017-08-20T16:00:00Z","modified":"2024-08-05T18:51:07Z","title":"In Nimbus JOSE+JWT before 4.39, there is no integer-overflow check when converting length values from bytes to bits…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00888,"percentile":0.60193,"provenance":"source"},"cwes":[],"references":[{"url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/224/byte-to-bit-overflow-in-cbc","tags":["x_refsource_CONFIRM"]},{"url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/0d2bd649ea386539220d4facfe1f65eb1dadb86c","tags":["x_refsource_CONFIRM"]},{"url":"https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":12.04}]},"affected":[{"ecosystem":"Maven","package":"com.nimbusds:nimbus-jose-jwt","vulnerableRanges":["<4.39"],"patched":["4.39"],"from":["GHSA-2qp9-wg27-9pcv"],"provenance":"source"}],"summary":{"text":"The flaw is an integer-overflow issue in the Nimbus JOSE+JWT library (versions before 4.39), where byte-to-bit length conversions are not checked for overflow.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:22Z"},"euvd":{"id":"EUVD-2022-2037","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-12974","published":"2017-08-20","fixed":"4.36","kev":false,"link":{"from":"CVE-2017-12974","to":"CVE-2017-12972","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.nimbusds:nimbus-jose-jwt","fromFixed":"4.36","toFixed":"4.39","daysApart":0}]}},{"cve":"CVE-2017-12972","published":"2017-08-20","fixed":"4.39","kev":false},{"cve":"CVE-2017-12973","published":"2017-08-20","fixed":"4.39","kev":false},{"cve":"CVE-2019-17195","published":"2019-10-15","fixed":"7.9","kev":false},{"cve":"CVE-2023-52428","published":"2024-02-11","fixed":"9.37.2","kev":false}],"package":"Maven:com.nimbusds:nimbus-jose-jwt"}}