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-7687 Vulnerability in npm package fast-http
CVE-2018-21234 Vulnerability in maven package org.jodd:jodd-json
CVE-2020-5259 Vulnerability in npm package dojox
CVE-2022-43401 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2019-9142 Vulnerability in maven package org.b3log:symphony