Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. elliptic
  4. ›
  5. GHSA-vjh7-7g9h-fjfh

GHSA-vjh7-7g9h-fjfh: Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string)

February 12, 2025 (updated October 31, 2025)

Private key can be extracted from ECDSA signature upon signing a malformed input (e.g. a string or a number), which could e.g. come from JSON network input

Note that elliptic by design accepts hex strings as one of the possible input types

References

  • github.com/advisories/GHSA-vjh7-7g9h-fjfh
  • github.com/indutny/elliptic
  • github.com/indutny/elliptic/commit/04cb6f54ce552b3ebde6be06d6050419e1c7333e
  • github.com/indutny/elliptic/security/advisories/GHSA-vjh7-7g9h-fjfh

Code Behaviors & Features

Detect and mitigate GHSA-vjh7-7g9h-fjfh 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.6.1

Fixed versions

  • 6.6.1

Solution

Upgrade to version 6.6.1 or above.

Impact 10 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/elliptic/GHSA-vjh7-7g9h-fjfh.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 03 Nov 2025 00:18:54 +0000.