Description
An issue was discovered in the jsrsasign package before 8.0.18 for Node.js. Its RSA PKCS1 v1.5 decryption implementation does not detect ciphertext modification by prepending '\0' bytes to ciphertexts (it decrypts modified ciphertexts without error). An attacker might prepend these bytes with the goal of triggering memory corruption issues.
Remediation
References
https://github.com/kjur/jsrsasign/issues/439
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-2018-16490 Vulnerability in npm package mpath
CVE-2020-13956 Vulnerability in maven package org.apache.httpcomponents.client5:httpclient5
CVE-2023-50449 Vulnerability in maven package com.jfinal:jfinal
CVE-2019-1010266 Vulnerability in maven package org.webjars.npm:lodash
CVE-2022-25645 Vulnerability in maven package org.webjars.npm:dset