CVE-2020-28498 json
Cryptographic Issues
published 5y ago modified 4mo ago also GHSA-r9p9-mrjm-926w , EUVD-2021-0704
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
The package elliptic before 6.5.4 are vulnerable to Cryptographic Issues via the secp256k1 implementation in elliptic/ec/key.js. There is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed.
Patch / fix
- npm elliptic 6.5.4
- indutny elliptic 6.5.4
- node-elliptic Debian 14, Debian 13, Debian 12 6.5.4~dfsg-1
debian advisories DEBIAN-CVE-2020-28498
- github.com/indutny/elliptic@441b742 commit
- github.com/indutny/elliptic#244 pull request
- snyk.io/vuln/SNYK-JS-ELLIPTIC-1064899 advisory
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836 advisory
Is CVE-2020-28498 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 FencerExploit prediction
1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | elliptic | <6.5.4 |
6.5.4 |
Affected products
- n/a elliptic
Classification
- Weakness
-
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
References
-
github.com
/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-ELLIPTIC-1064899
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836
web, patch, third-party-advisory
-
github.com
/indutny/elliptic/pull/244/commits
web
-
github.com
/christianlundkvist/blog/blob/master/2020_05_26_secp256k1_twist_attacks/secp256k1_twist_attacks.md
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-28498
advisory
-
npmjs.com
/package/elliptic
web
Sources
- CVE List CVE-2020-28498
- GitHub Advisory GHSA-r9p9-mrjm-926w
- NVD CVE-2020-28498
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.