MediumGHSA-h87q-g2wp-47pj

Signatures are mistakenly recognized to be valid in jsrsasign

Published 9 Feb 2022 · Updated 15 Feb 2022

Affected package

Affected
<10.2.0
Fixed in
10.2.0
Update to the fixed version for your release line, for example:npm install jsrsasign@10.2.0

Details

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.

Is GHSA-h87q-g2wp-47pj in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected jsrsasign, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.