Advisory

GHSA-fc9h-whq2-v747

Also known as: CVE-2024-48948

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.

Severity

Low Basis: The source's own band: LOW

Dates

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

Affected packages and fixes

elliptic

npm · All systems

Affected

  • introduced 0, fixed 6.6.0 (semver)

Fixed versions

6.6.0

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