CVE-2020-28498: Elliptic Uses a Broken or Risky Cryptographic Algorithm
6.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65939%
CWE
Published
3/8/2021
Updated
9/6/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
elliptic | npm | < 6.5.4 | 6.5.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing validation in the ECDH key derivation process. The commit diff shows the vulnerability was fixed by adding 'pub.validate()' check in KeyPair.prototype.derive. The advisory explicitly references this function as the vulnerable location, and the added test case demonstrates how invalid public points could be passed to derive without validation in vulnerable versions.