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

CVE-2024-42460: Elliptic's ECDSA missing check for whether leading bit of r and s is zero

August 2, 2024 (updated November 4, 2025)

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.

References

  • github.com/advisories/GHSA-977x-g7h5-7qgw
  • github.com/indutny/elliptic
  • github.com/indutny/elliptic/commit/accb61e9c1a005e5c8ff96a8b33893100bb42d11
  • github.com/indutny/elliptic/commit/b6ff1758d9a6d1a7aec177ff6df9f586492a6315
  • github.com/indutny/elliptic/pull/317
  • nvd.nist.gov/vuln/detail/CVE-2024-42460
  • security.netapp.com/advisory/ntap-20241004-0005

Code Behaviors & Features

Detect and mitigate CVE-2024-42460 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 6.5.7

Fixed versions

  • 6.5.7

Solution

Upgrade to version 6.5.7 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-130: Improper Handling of Length Parameter Inconsistency

Source file

npm/elliptic/CVE-2024-42460.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:42 +0000.