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/issues/438
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-2022-0239 Vulnerability in maven package edu.stanford.nlp:stanford-corenlp
CVE-2018-3737 Vulnerability in npm package sshpk
CVE-2021-41182 Vulnerability in maven package org.webjars.npm:jquery-ui
CVE-2020-27216 Vulnerability in maven package jetty:jetty
CVE-2023-46657 Vulnerability in maven package org.jenkins-ci.plugins:gogs-webhook