CVE-2020-14966
HIGH 7.5CVSS 3.1ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding in jsrsasign
An issue was discovered in the jsrsasign package through 8.0.18 for Node.js. It allows a malleability in ECDSA signatures by not checking overflows in the length of a sequence and '0' characters appended or prepended to an integer. The modified signatures are verified as valid. This could have a security-relevant impact if an application relied on a single canonical signature.
- Published
- 22 Jun 2020
- Last modified
- 22 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-p8c3-7rj8-q963
- Sources
- NVDJSONOSV GHSA-p8c3-7rj8-q963JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kjur | jsrsasigncpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:* |
<= 8.0.18 | |
| NVD | netapp | max_datacpe:2.3:a:netapp:max_data:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | npm | jsrsasign | >= 4.0.0, < 8.0.19 | 8.0.19 |
References
- https://github.com/kjur/jsrsasign/issues/437 · 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-p8c3-7rj8-q963 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-14966 · ADVISORY
- https://github.com/kjur/jsrsasign/commit/6087412d072a57074d3c4c1b40bdde0460d53a7f · WEB
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14966 · WEB
- https://github.com/kjur/jsrsasign · PACKAGE
- https://kjur.github.io/jsrsasign/api/symbols/ASN1HEX.html#.checkStrictDER · WEB
- https://kjur.github.io/jsrsasign/api/symbols/KJUR.crypto.ECDSA.html · WEB
- https://vuldb.com/?id.157123 · 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)