Buffer overflow in Kjur Jsrsasign
CVE-2020-14968
An issue was discovered in the jsrsasign package before 8.0.17 for Node.js. Its RSASSA-PSS (RSA-PSS) implementation does not detect signature manipulation/modification by prepending '\0' bytes to a signature (it accepts these modified signatures as valid). An attacker can abuse this behavior in an application by creating multiple valid signatures where only one signature should exist. Also, 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.029, 87.3th 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/438 (Exploit, Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20200724-0001/ (Third Party Advisory)