Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. elliptic
  4. ›
  5. CVE-2020-28498

CVE-2020-28498: Use of a Broken or Risky Cryptographic Algorithm

February 2, 2021 (updated February 8, 2021)

The package elliptic is 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-28498

Code Behaviors & Features

Detect and mitigate CVE-2020-28498 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.5.4

Fixed versions

  • 6.5.4

Solution

Upgrade to version 6.5.4 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

npm/elliptic/CVE-2020-28498.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:36 +0000.