ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding in jsrsasign
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| jsrsasign npm |
|
|
Original description
An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.
From the CVE record · mitre