CVE-2017-12974 Improper Verification of Cryptographic Signature in Nimbus JOSE+JWT

High 7.5 Published Updated

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.

PackageAffectedFixed in
com.nimbusds:nimbus-jose-jwt MavenAll versions4.36
com.nimbusds:nimbus-jose-jwt MavenAll versions4.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.

Sources

Also known as GHSA-pfv2-37f7-9m6w.

Is CVE-2017-12974 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free