CVE-2021-32631 JSON Web Tokens not properly verified

Medium 6.5 Published Updated

Attackers can forge valid JSON Web Tokens due to improper signature verification, leading to authentication bypasses in Nimble services.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-32631?

CVE-2021-32631 is a medium-severity authentication bypass vulnerability in nimble-platform common, published on 26 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Common is a package of common modules that can be accessed by NIMBLE services. Common before commit number 3b96cb0293d3443b870351945f41d7d55cb34b53 did not properly verify the signature of JSON Web Tokens. This allows someone to forge a valid JWT. Being able to forge JWTs may lead to authentication bypasses. Commit number 3b96cb0293d3443b870351945f41d7d55cb34b53 contains a patch for the issue. As a workaround, one may use the parseClaimsJws method to correctly verify the signature of a JWT.

Weakness: CWE-290

Which versions are affected by CVE-2021-32631?

It affects 1 product.

Products include Nimble-Project Common.

How do I fix CVE-2021-32631?

No fix has been published for CVE-2021-32631 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2021-32631 being exploited?

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

Sources

Also known as GHSA-fjq8-896w-pv28.

Is CVE-2021-32631 in your software?

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

Check your SBOMs for free