CVE-2020-14967
CRITICAL 9.8CVSS 3.1RSA PKCS#1 decryption vulnerability with prepending zeros in jsrsasign
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.
- Published
- 22 Jun 2020
- Last modified
- 22 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- GHSA-xxxq-chmp-67g4
- Sources
- NVDJSONOSV GHSA-xxxq-chmp-67g4JSON
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.18 | 8.0.18 |
| NVD | netapp | max_datacpe:2.3:a:netapp:max_data:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | npm | jsrsasign | < 8.0.18 | 8.0.18 |
References
- https://github.com/kjur/jsrsasign/issues/439 · 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-xxxq-chmp-67g4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-14967 · ADVISORY
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14967 · WEB
- https://github.com/kjur/jsrsasign · PACKAGE
- https://kjur.github.io/jsrsasign/api/symbols/KJUR.crypto.Cipher.html#.decrypt · WEB
- https://vuldb.com/?id.157124 · 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)