CVE-2017-12972Connect2id Nimbus Jose+jwt
High 7.5 No auth needed
Follow: this CVE · Connect2id · Connect2id Nimbus Jose+jwt We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 20, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Nimbus Jose+jwt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.nimbusds:nimbus-jose-jwt |
< 4.39 |
4.39 |
— |
Per OSV / GitHub Advisories (GHSA-2qp9-wg27-9pcv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| connect2id | nimbus_jose+jwt | 1.0 |
| connect2id | nimbus_jose+jwt | 1.1 |
| connect2id | nimbus_jose+jwt | 1.2 |
| connect2id | nimbus_jose+jwt | 1.3 |
| connect2id | nimbus_jose+jwt | 1.4 |
| connect2id | nimbus_jose+jwt | 1.5 |
| connect2id | nimbus_jose+jwt | 1.6 |
| connect2id | nimbus_jose+jwt | 1.7 |
| connect2id | nimbus_jose+jwt | 1.8 |
| connect2id | nimbus_jose+jwt | 1.9 |
| connect2id | nimbus_jose+jwt | 1.9.1 |
| connect2id | nimbus_jose+jwt | 1.10 |
| connect2id | nimbus_jose+jwt | 1.11 |
| connect2id | nimbus_jose+jwt | 1.12 |
| connect2id | nimbus_jose+jwt | 2.0 |
| connect2id | nimbus_jose+jwt | 2.0.1 |
| connect2id | nimbus_jose+jwt | 2.1 |
| connect2id | nimbus_jose+jwt | 2.1.1 |
| connect2id | nimbus_jose+jwt | 2.2 |
| connect2id | nimbus_jose+jwt | 2.3 |
| connect2id | nimbus_jose+jwt | 2.4 |
| connect2id | nimbus_jose+jwt | 2.5 |
| connect2id | nimbus_jose+jwt | 2.6 |
| connect2id | nimbus_jose+jwt | 2.7 |
| connect2id | nimbus_jose+jwt | 2.8 |
| connect2id | nimbus_jose+jwt | 2.9 |
| connect2id | nimbus_jose+jwt | 2.10 |
| connect2id | nimbus_jose+jwt | 2.10.1 |
| connect2id | nimbus_jose+jwt | 2.11.0 |
| connect2id | nimbus_jose+jwt | 2.12.0 |
| connect2id | nimbus_jose+jwt | 2.13.0 |
| connect2id | nimbus_jose+jwt | 2.13.1 |
| connect2id | nimbus_jose+jwt | 2.14 |
| connect2id | nimbus_jose+jwt | 2.15 |
| connect2id | nimbus_jose+jwt | 2.15.1 |
| connect2id | nimbus_jose+jwt | 2.15.2 |
| connect2id | nimbus_jose+jwt | 2.16 |
| connect2id | nimbus_jose+jwt | 2.17 |
| connect2id | nimbus_jose+jwt | 2.17.1 |
| connect2id | nimbus_jose+jwt | 2.17.2 |
| connect2id | nimbus_jose+jwt | 2.18 |
| connect2id | nimbus_jose+jwt | 2.18.1 |
| connect2id | nimbus_jose+jwt | 2.18.2 |
| connect2id | nimbus_jose+jwt | 2.19 |
| connect2id | nimbus_jose+jwt | 2.19.1 |
| connect2id | nimbus_jose+jwt | 2.20 |
| connect2id | nimbus_jose+jwt | 2.21 |
| connect2id | nimbus_jose+jwt | 2.22 |
| connect2id | nimbus_jose+jwt | 2.22.1 |
| connect2id | nimbus_jose+jwt | 2.23 |
| connect2id | nimbus_jose+jwt | 2.24 |
| connect2id | nimbus_jose+jwt | 2.25 |
| connect2id | nimbus_jose+jwt | 2.26 |
| connect2id | nimbus_jose+jwt | 2.26.1 |
| connect2id | nimbus_jose+jwt | 3.0 |
| connect2id | nimbus_jose+jwt | 3.1 |
| connect2id | nimbus_jose+jwt | 3.1.1 |
| connect2id | nimbus_jose+jwt | 3.1.2 |
| connect2id | nimbus_jose+jwt | 3.2 |
| connect2id | nimbus_jose+jwt | 3.2.1 |
and 67 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- bitbucket.org Third Party Advisory
- bitbucket.org Patch Third Party Advisory
- bitbucket.org Release Notes Third Party Advisory
- lists.apache.org