CVE-2017-12972
Last modified
CVE-2017-12972 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.89% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| 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 |
Showing 50 of 127 affected configurations. See NVD for the full list.
References
- https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/224/byte-to-bit-overflow-in-cbcPatch, Third Party Advisory
- https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txtRelease Notes, Third Party Advisory
- https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/224/byte-to-bit-overflow-in-cbcPatch, Third Party Advisory
- https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txtRelease Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12972?
How severe is CVE-2017-12972?
How do I fix CVE-2017-12972?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-12966The asn1f_lookup_symbol_impl function in asn1fix_retrieve.c …
- CVE-2017-12967The getsym function in tekhex.c in the Binary File Descripto…
- CVE-2017-12969Buffer overflow in the ViewerCtrlLib.ViewerCtrl ActiveX cont…
- CVE-2017-1297IBM DB2 for Linux, UNIX and Windows 9.2, 10.1, 10.5, and 11.…
- CVE-2017-12970Cross-site request forgery (CSRF) vulnerability in Apache2Tr…
- CVE-2017-12971Cross-site scripting (XSS) vulnerability in Apache2Triad 1.5…
- CVE-2017-12973Nimbus JOSE+JWT before 4.39 proceeds improperly after detect…
- CVE-2017-12974Nimbus JOSE+JWT before 4.36 proceeds with ECKey construction…
- CVE-2017-12976git-annex before 6.20170818 allows remote attackers to execu…
- CVE-2017-12977The Web-Dorado "Photo Gallery by WD - Responsive Photo Galle…
- CVE-2017-12978lib/html.php in Cacti before 1.1.18 has XSS via the title fi…
- CVE-2017-12979DokuWiki through 2017-02-19c has stored XSS when rendering a…
Are you affected by CVE-2017-12972?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
