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/releases/tag/8.0.17
https://github.com/kjur/jsrsasign/releases/tag/8.0.18
https://github.com/kjur/jsrsasign/issues/439
https://www.npmjs.com/package/jsrsasign
https://kjur.github.io/jsrsasign/
https://security.netapp.com/advisory/ntap-20200724-0001/
Related Vulnerabilities
CVE-2021-27292 Vulnerability in npm package ua-parser-js
CVE-2017-1000387 Vulnerability in maven package org.jenkins-ci.plugins:build-publisher
CVE-2018-12972 Vulnerability in maven package net.opentsdb:opentsdb
CVE-2020-15270 Vulnerability in npm package parse-server
CVE-2023-24163 Vulnerability in maven package cn.hutool:hutool-all