node-elliptic — security advisory
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.
- Products
- node-elliptic
- Affected versions
- 6.4.0+dfsg-1, 6.5.1~dfsg-1, 6.5.1~dfsg-2, 6.5.4~dfsg-1, 6.5.4~dfsg-2, 6.6.1+dfsg+~6.4.18-1, 6.6.1+dfsg+~6.4.18-2, 6.6.1+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2020-28498
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:29 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2020-28498
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
node-elliptic
Fixed versions: Not specified
Complete source record
{
"id": "07fdecfe747db29062e1bae175b5bd40a41692930bf935412561b397b9bf1002",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-28498",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2020-28498",
"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.",
"evidence": "osv:UBUNTU-CVE-2020-28498",
"products": [
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.4.0+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.5.1~dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.5.1~dfsg-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.5.4~dfsg-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.5.4~dfsg-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.6.1+dfsg-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.6.1+dfsg+~6.4.18-1",
"evidence": "/affected/5/versions"
},
{
"value": "6.6.1+dfsg+~6.4.18-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "node-elliptic",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.6.1+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "6.6.1+dfsg+~6.4.18-1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2020-28498",
"aliases": [
"UBUNTU-CVE-2020-28498"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"6.4.0+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.4.0+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"6.5.1~dfsg-1",
"6.5.1~dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.5.1~dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"6.5.4~dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.5.4~dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.5.4~dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.5.4~dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"6.6.1+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.6.1+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"6.6.1+dfsg+~6.4.18-1",
"6.6.1+dfsg+~6.4.18-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.6.1+dfsg+~6.4.18-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-elliptic",
"purl": "pkg:deb/ubuntu/node-elliptic?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"6.6.1+dfsg-1",
"6.6.1+dfsg+~6.4.18-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28498.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-elliptic",
"binary_version": "6.6.1+dfsg+~6.4.18-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:55.031717157Z",
"provider": "osv",
"upstream": [
"CVE-2020-28498"
],
"references": [
"https://ubuntu.com/security/CVE-2020-28498",
"https://github.com/christianlundkvist/blog/blob/master/2020_05_26_secp256k1_twist_attacks/secp256k1_twist_attacks.md",
"https://github.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836",
"https://snyk.io/vuln/SNYK-JS-ELLIPTIC-1064899",
"https://www.cve.org/CVERecord?id=CVE-2020-28498"
]
},
"related_cves": [
{
"value": "CVE-2020-28498",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356531,
"published_at": "2021-02-02T19:15:00+00:00"
}