Description
An issue was discovered in the jsrsasign package before 8.0.17 for Node.js. Its RSASSA-PSS (RSA-PSS) implementation does not detect signature manipulation/modification by prepending '\0' bytes to a signature (it accepts these modified signatures as valid). An attacker can abuse this behavior in an application by creating multiple valid signatures where only one signature should exist. Also, an attacker might prepend these bytes with the goal of triggering memory corruption issues.
Remediation
References
https://github.com/kjur/jsrsasign/releases/tag/8.0.17
https://github.com/kjur/jsrsasign/issues/438
https://github.com/kjur/jsrsasign/releases/tag/8.0.18
https://www.npmjs.com/package/jsrsasign
https://kjur.github.io/jsrsasign/
https://security.netapp.com/advisory/ntap-20200724-0001/
Related Vulnerabilities
CVE-2023-26126 Vulnerability in npm package m.static
CVE-2010-2076 Vulnerability in maven package org.apache.cxf:cxf-bundle-jaxrs
CVE-2017-16059 Vulnerability in npm package mssql-node
CVE-2022-36099 Vulnerability in maven package org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki
CVE-2019-10806 Vulnerability in maven package org.webjars.npm:vega-util