GHSA-fc9h-whq2-v747

Suggest an improvement
Source
https://github.com/advisories/GHSA-fc9h-whq2-v747
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-fc9h-whq2-v747/GHSA-fc9h-whq2-v747.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fc9h-whq2-v747
Aliases
Published
2024-10-15T15:30:56Z
Modified
2024-10-28T18:12:53Z
Severity
  • 2.3 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Valid ECDSA signatures erroneously rejected in Elliptic
Details

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

Affected packages

npm / elliptic

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.0