Elliptic's verify function omits uniqueness validation
Low severity
GitHub Reviewed
Published
Oct 10, 2024
to the GitHub Advisory Database
•
Updated Oct 15, 2024
Description
Published by the National Vulnerability Database
Oct 10, 2024
Published to the GitHub Advisory Database
Oct 10, 2024
Reviewed
Oct 10, 2024
Last updated
Oct 15, 2024
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 inlib/elliptic/eddsa/index.js
omitssig.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