CVE-2020-14968
CRITICAL 9.8CVSS 3.1RSA-PSS signature validation vulnerability by prepending zeros in jsrsasign
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.
- Published
- 22 Jun 2020
- Last modified
- 22 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-q3gh-5r98-j4h3
- Sources
- NVDJSONOSV GHSA-q3gh-5r98-j4h3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kjur | jsrsasigncpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:* |
< 8.0.17 | 8.0.17 |
| NVD | netapp | max_datacpe:2.3:a:netapp:max_data:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | npm | jsrsasign | >= 3.0.0, < 8.0.17 | 8.0.17 |
References
- https://github.com/kjur/jsrsasign/issues/438 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/kjur/jsrsasign/releases/tag/8.0.17 · Release Notes, Third Party Advisory, WEB
- https://github.com/kjur/jsrsasign/releases/tag/8.0.18 · Release Notes, Third Party Advisory, WEB
- https://kjur.github.io/jsrsasign/ · Release Notes, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20200724-0001/ · Third Party Advisory, WEB
- https://www.npmjs.com/package/jsrsasign · Product, Third Party Advisory, WEB
- https://github.com/kjur/jsrsasign/security/advisories/GHSA-q3gh-5r98-j4h3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-14968 · ADVISORY
- https://github.com/kjur/jsrsasign/commit/3bcc088c727658d7235854cd2a409a904cc2ce99 · WEB
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14968 · WEB
- https://github.com/kjur/jsrsasign · PACKAGE
- https://kjur.github.io/jsrsasign/api/symbols/RSAKey.html#.verifyWithMessageHashPSS · WEB
- https://vuldb.com/?id.157125 · WEB
- https://www.npmjs.com/advisories/1541 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 22 Jun 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jun 2020)