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/releases/tag/8.0.17
https://github.com/kjur/jsrsasign/releases/tag/8.0.18
https://www.npmjs.com/package/jsrsasign
https://github.com/kjur/jsrsasign/issues/437
https://kjur.github.io/jsrsasign/
https://security.netapp.com/advisory/ntap-20200724-0001/
Related Vulnerabilities
CVE-2020-6836 Vulnerability in npm package hot-formula-parser
CVE-2020-26945 Vulnerability in maven package org.mybatis:mybatis
CVE-2021-32818 Vulnerability in npm package haml-coffee
CVE-2020-28278 Vulnerability in maven package org.webjars.npm:shvl
CVE-2019-15138 Vulnerability in maven package org.webjars.npm:html-pdf