GHSA-h87q-g2wp-47pj Signatures are mistakenly recognized to be valid in jsrsasign

Not scored Published

The jsrsasign library incorrectly validates certain invalid RSA signatures, potentially allowing attackers to bypass signature verification checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-h87q-g2wp-47pj?

GHSA-h87q-g2wp-47pj is a vulnerability in jsrsasign, published on 9 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is no known practical attack.

Which versions are affected by GHSA-h87q-g2wp-47pj?

2 open source packages ship an affected version, including jsrsasign.

PackageAffectedFixed in
jsrsasign npmAll versions10.2.0
jsrsasign npmAll versions10.2.0

How do I fix GHSA-h87q-g2wp-47pj?

Upgrade jsrsasign to 10.2.0 or later.

Is GHSA-h87q-g2wp-47pj being exploited?

There is no known exploitation of GHSA-h87q-g2wp-47pj in the wild and no public exploit code.

Sources

Is GHSA-h87q-g2wp-47pj in your software?

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

Check your SBOMs for free