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.
Remediation
References
https://github.com/kjur/jsrsasign/issues/437
https://github.com/kjur/jsrsasign/releases/tag/8.0.17
https://github.com/kjur/jsrsasign/releases/tag/8.0.18
https://kjur.github.io/jsrsasign/
https://security.netapp.com/advisory/ntap-20200724-0001/
https://www.npmjs.com/package/jsrsasign
Related Vulnerabilities
CVE-2021-23442 Vulnerability in npm package @cookiex/deep
CVE-2016-8749 Vulnerability in maven package org.apache.camel:camel-jackson
CVE-2021-23450 Vulnerability in npm package dojo
CVE-2017-11555 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2022-23540 Vulnerability in maven package org.webjars.npm:jsonwebtoken