CVE-2017-12974 Improper Verification of Cryptographic Signature in Nimbus JOSE+JWT
Attackers can bypass cryptographic validation in Nimbus JOSE+JWT by exploiting invalid curve attacks when the underlying JCE provider lacks curve validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-12974?
CVE-2017-12974 is a high-severity vulnerability in n/a, published on 20 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Nimbus JOSE+JWT before 4.36 proceeds with ECKey construction without ensuring that the public x and y coordinates are on the specified curve, which allows attackers to conduct an Invalid Curve Attack in environments where the JCE provider lacks the applicable curve validation.
Weakness: CWE-347
Which versions are affected by CVE-2017-12974?
2 open source packages ship an affected version, including com.nimbusds:nimbus-jose-jwt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.nimbusds:nimbus-jose-jwt Maven | All versions | 4.36 |
com.nimbusds:nimbus-jose-jwt Maven | All versions | 4.36 |
Products include Connect2id Nimbus Jose\+jwt.
How do I fix CVE-2017-12974?
Upgrade com.nimbusds:nimbus-jose-jwt to 4.36 or later.
Is CVE-2017-12974 being exploited?
There is no known exploitation of CVE-2017-12974 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pfv2-37f7-9m6w.