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-2019-3799 Vulnerability in maven package org.springframework.cloud:spring-cloud-config-server
CVE-2020-2224 Vulnerability in maven package org.jenkins-ci.plugins:matrix-project
CVE-2017-16152 Vulnerability in npm package static-html-server
CVE-2021-39134 Vulnerability in npm package @npmcli/arborist
CVE-2019-1003061 Vulnerability in maven package org.jenkins-ci.plugins:jenkins-cloudformation-plugin