CVE-2017-12973 Nimbus JOSE+JWT vulnerable to padding oracle attack

Low 3.1 Published Updated

Attackers can exploit a padding oracle vulnerability in Nimbus JOSE+JWT to decrypt AES-CBC data by improperly handling invalid HMACs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-12973?

CVE-2017-12973 is a low-severity vulnerability in n/a, published on 20 Aug 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Nimbus JOSE+JWT before 4.39 proceeds improperly after detection of an invalid HMAC in authenticated AES-CBC decryption, which allows attackers to conduct a padding oracle attack.

Weakness: CWE-354

Which versions are affected by CVE-2017-12973?

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

Products include Connect2id Nimbus Jose\+jwt.

How do I fix CVE-2017-12973?

Upgrade com.nimbusds:nimbus-jose-jwt to 4.39 or later.

Is CVE-2017-12973 being exploited?

There is no known exploitation of CVE-2017-12973 in the wild and no public exploit code.

Sources

Also known as GHSA-jfmq-4g4m-99rh.

Is CVE-2017-12973 in your software?

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

Check your SBOMs for free