Buffer overflow in Kjur Jsrsasign
CVE-2020-14967
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.023, 83.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 20 other repositories (andrzejm57/certificate-decode, andrzejm57/certificate-decode-javascript, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- kjur.github.io/jsrsasign/ (Third Party Advisory, Release Notes)
- www.npmjs.com/package/jsrsasign (Product, Third Party Advisory)
- github.com/kjur/jsrsasign/releases/tag/8.0.18 (Third Party Advisory, Release Notes)
- github.com/kjur/jsrsasign/releases/tag/8.0.17 (Third Party Advisory, Release Notes)
- github.com/kjur/jsrsasign/issues/439 (Exploit, Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20200724-0001/ (Third Party Advisory)