GitHub Advisoryadvisory · npm

GHSA-434g-2637-qmqr Elliptic's verify function omits uniqueness validation

LOW Published 2024-10-10 Modified 2025-11-27 Official page ↗
Aliases
CVE-2024-48949
Ecosystem
npm
Packages
elliptic
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-347
Reviewed
2024-10-10

Affected packages

• npm elliptic: < 6.5.6 → fixed in 6.5.6

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-48949 The verify function in lib/elliptic/eddsa/index.js in the Elliptic package before 6.5.6 for Node.js omits "sig.S().gte(sig.eddsa.curve.n)… vulnerability

Weakness · CWE (1)

  • CWE-347 Improper Verification of Cryptographic Signature weakness

References