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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://kjur.github.io/jsrsasign/ | third party advisory release notes |
https://www.npmjs.com/package/jsrsasign | product third party advisory |
https://github.com/kjur/jsrsasign/releases/tag/8.0.18 | third party advisory release notes |
https://github.com/kjur/jsrsasign/releases/tag/8.0.17 | third party advisory release notes |
https://github.com/kjur/jsrsasign/issues/439 | third party advisory issue tracking exploit |
https://security.netapp.com/advisory/ntap-20200724-0001/ | third party advisory |