Vulnerability · Published Jun 22, 2020 · Assigned by mitre
CVE-2020-14968
Critical 9.8
In plain English
A critical-severity security flaw in the jsrsasign package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | jsrsasign | 8.0.17 | GHSA-q3gh-5r98-j4h3 |
Affected products (as reported)
References
- https://kjur.github.io/jsrsasign/ x_refsource_MISC
- https://www.npmjs.com/package/jsrsasign x_refsource_MISC
- https://github.com/kjur/jsrsasign/releases/tag/8.0.18 x_refsource_MISC
- https://github.com/kjur/jsrsasign/releases/tag/8.0.17 x_refsource_MISC
- https://github.com/kjur/jsrsasign/issues/438 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20200724-0001/ x_refsource_CONFIRM