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

CVE-2024-48949: Elliptic's verify function omits uniqueness validation

October 10, 2024 (updated March 25, 2025)

The Elliptic package 6.5.5 for Node.js for EDDSA implementation does not perform the required check if the signature proof(s) is within the bounds of the order n of the base point of the elliptic curve, leading to signature malleability. Namely, the verify function in lib/elliptic/eddsa/index.js omits sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg() validation.

This vulnerability could have a security-relevant impact if an application relies on the uniqueness of a signature.

References

  • github.com/advisories/GHSA-434g-2637-qmqr
  • github.com/indutny/elliptic
  • github.com/indutny/elliptic/commit/7ac5360118f74eb02da73bdf9f24fd0c72ff5281
  • github.com/indutny/elliptic/compare/v6.5.5...v6.5.6
  • nvd.nist.gov/vuln/detail/CVE-2024-48949
  • security.netapp.com/advisory/ntap-20241227-0003

Code Behaviors & Features

Detect and mitigate CVE-2024-48949 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.6

Fixed versions

  • 6.5.6

Solution

Upgrade to version 6.5.6 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

npm/elliptic/CVE-2024-48949.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:33 +0000.