~ / search / GHSA-fc9h-whq2-v747

GHSA-fc9h-whq2-v747

Valid ECDSA signatures erroneously rejected in Elliptic

Source: GitHub Advisory Database (reviewed) Low CVE-2024-48948

Packages

EcosystemPackageAffectedFixed in
npm elliptic < 6.6.0 6.6.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.