CVE-2020-13822 json
Signature Malleabillity in elliptic
published 6y ago modified 4mo ago also GHSA-vh7m-p724-62c2 , EUVD-2020-0571
- cvss
- 7.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
The Elliptic package 6.5.2 for Node.js allows ECDSA signature malleability via variations in encoding, leading '\0' bytes, or integer overflows. This could conceivably have a security-relevant impact if an application relied on a single canonical signature.
Patch / fix
- npm elliptic 6.5.3
- node-elliptic Debian 14, Debian 13, Debian 12 6.5.3~dfsg-1
debian advisories DEBIAN-CVE-2020-13822
Is CVE-2020-13822 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-13822 updated cvss 7.7
nodejs-elliptic: improper encoding checks allows a certain degree of signature malleability in ECDSA signatures
-
Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-grafana-prometheusaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4 prometheus-promu, openshift-prometheus-promu, golang-github-prometheus-promuaffected: no fix available
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4.6 openshift4/ose-grafana v4.6.0-202010061132.p0, openshift4/ose-prometheus v4.6.0-202009290409.p0fixed: vendor fix RHSA-2020:4298
-
Red Hat Single Sign-On 7fixed: vendor fix RHSA-2020:5533
-
Red Hat OpenShift Container Platform 4.6 openshift4/ose-cli v4.6.0-202010080605.p0, openshift4/ose-ptp v4.6.0-202010200139.p0, openshift4/ose-etcd v4.6.0-202010061132.p0, openshift4/ose-tests v4.6.0-202010120952.p0, openshift4/ose-console v4.6.0-202010100121.p0, openshift4/ose-coredns v4.6.0-202010061132.p0, +78 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.71% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/indutny/elliptic/issues/226 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | elliptic | <6.5.3 |
6.5.3 |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/indutny/elliptic/commit/856fe4d99fe7b6200556e6400b3bf585b1721bec
web
-
github.com
/indutny/elliptic/issues/226
web, exploit, third-party-advisory
-
npmjs.com
/package/elliptic
web, third-party-advisory
-
yondon.blog
/2019/01/01/how-not-to-use-ecdsa/
third-party-advisory
-
medium.com
/%40herman_10687/malleability-attack-why-it-matters-7b5f59fb99a4
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-13822
advisory
-
github.com
/indutny/elliptic
package
-
medium.com
/@herman_10687/malleability-attack-why-it-matters-7b5f59fb99a4
web
-
yondon.blog
/2019/01/01/how-not-to-use-ecdsa
web
Sources
- CVE List CVE-2020-13822
- GitHub Advisory GHSA-vh7m-p724-62c2
- NVD CVE-2020-13822
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.