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
Published Aug 20, 2017
7.5
HIGHCVSS 3.0
EPSS 0.89%
Description
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.
Affected products
No data.
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- 1.9.1
- 1.10
- 1.11
- 1.12
- 2.0
- 2.0.1
- 2.1
- 2.1.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 2.9
- 2.10
- 2.10.1
- 2.11.0
- 2.12.0
- 2.13.0
- 2.13.1
- 2.14
- 2.15
- 2.15.1
- 2.15.2
- 2.16
- 2.17
- 2.17.1
- 2.17.2
- 2.18
- 2.18.1
- 2.18.2
- 2.19
- 2.19.1
- 2.20
- 2.21
- 2.22
- 2.22.1
- 2.23
- 2.24
- 2.25
- 2.26
- 2.26.1
- 3.0
- 3.1
- 3.1.1
- 3.1.2
- 3.2
- 3.2.1
- 3.2.2
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- 3.8.1
- 3.8.2
- 3.9
- 3.9.1
- 3.9.2
- 3.10
- 4.0
- 4.0.1
- 4.1
- 4.1.1
- 4.2
- 4.3
- 4.3.1
- 4.4
- 4.5
- 4.6
- 4.7
- 4.8
- 4.9
- 4.10
- 4.11
- 4.11.1
- 4.11.2
- 4.12
- 4.13
- 4.13.1
- 4.14
- 4.15
- 4.15.1
- 4.16
- 4.16.1
- 4.16.2
- 4.17
- 4.18
- 4.19
- 4.20
- 4.21
- 4.22
- 4.23
- 4.24
- 4.25
- 4.26
- 4.26.1
- 4.27
- 4.27.1
- 4.28
- 4.29
- 4.30
- 4.31
- 4.31.1
- 4.32
- 4.33
- 4.34
- 4.34.1
- 4.34.2
- 4.35
- 4.36.1
- 4.37
- 4.37.1
- 4.38
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.89% (0.00888) | 57.85th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.89% (0.00888) | 57.77th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.23% (0.00232) | 61.72th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.23% (0.00232) | 60.63th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.40% (0.00398) | 69.39th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.04% (0.01040) | 28.32th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (7)
- https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/0d2bd649ea386539220d4facfe1f65eb1dadb86c x_refsource_CONFIRMThird Party Advisory
- https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/224/byte-to-bit-overflow-in-cbc x_refsource_CONFIRMPatchThird Party Advisory
- https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt x_refsource_CONFIRMRelease NotesThird Party Advisory
- https://github.com/advisories/GHSA-2qp9-wg27-9pcv Advisory
- https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2017-12972
| Link | Providers | Tags |
|---|---|---|
| https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/0d2bd649ea386539220d4facfe1f65eb1dadb86c | x_refsource_CONFIRMThird Party Advisory | |
| https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/224/byte-to-bit-overflow-in-cbc | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt | x_refsource_CONFIRMRelease NotesThird Party Advisory | |
| https://github.com/advisories/GHSA-2qp9-wg27-9pcv | Advisory | |
| https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E | mailing-listx_refsource_MLIST | |
| https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E | ||
| https://nvd.nist.gov/vuln/detail/CVE-2017-12972 |
Change history (0)
No recorded changes yet.