Valid ECDSA signatures erroneously rejected in Elliptic
Low severity
GitHub Reviewed
Published
Oct 15, 2024
to the GitHub Advisory Database
•
Updated Dec 20, 2024
Description
Published by the National Vulnerability Database
Oct 15, 2024
Published to the GitHub Advisory Database
Oct 15, 2024
Reviewed
Oct 17, 2024
Last updated
Dec 20, 2024
The Elliptic prior to 6.6.0 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.
References