CVE-2020-14967

Improper Restriction of Operations within the Bounds of a Memory Buffer in npm/jsrsasign

Identifiers

CVE-2020-14967

Package Slug

npm/jsrsasign

Vulnerability

Improper Restriction of Operations within the Bounds of a Memory Buffer

Description

An issue was discovered in the jsrsasign package 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.

Affected Versions

All versions before 8.0.18

Solution

Upgrade to version 8.0.18 or above.

Last Modified

2020-06-30

source