Advisory

GHSA-r9p9-mrjm-926w

Also known as: CVE-2020-28498

Summary

Elliptic Uses a Broken or Risky Cryptographic Algorithm

Details

The npm package elliptic before version 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-03-08 16:06 UTC
Modified
2025-01-14 08:57 UTC

Affected packages and fixes

elliptic

npm · All systems

Affected

  • introduced 0, fixed 6.5.4 (semver)

Fixed versions

6.5.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences