Advisory

GHSA-434g-2637-qmqr

Also known as: CVE-2024-48949

Summary

Elliptic's verify function omits uniqueness validation

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-10-10 03:30 UTC
Modified
2025-11-27 08:58 UTC

Affected packages and fixes

elliptic

npm · All systems

Affected

  • introduced 0, fixed 6.5.6 (semver)

Fixed versions

6.5.6

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