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-21290 Vulnerability in maven package io.netty:netty-codec-http
CVE-2015-9241 Vulnerability in npm package hapi
CVE-2021-25916 Vulnerability in npm package patchmerge
CVE-2020-7637 Vulnerability in npm package class-transformer
CVE-2021-39176 Vulnerability in npm package detect-character-encoding