PT-2024-33289 · Node.Js+2 · Elliptic+2
Markus Schiffermüller
+2
·
Published
2024-10-13
·
Updated
2025-11-25
·
CVE-2024-48948
CVSS v3.1
4.8
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
Elliptic versions prior to 6.6.0
Description
The Elliptic package for Node.js, in its 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.
Recommendations
For versions prior to 6.6.0, update to version 6.6.0 or later to resolve the issue. As a temporary workaround, consider implementing additional validation checks for signatures to minimize the risk of incorrectly flagging legitimate transactions or communications as invalid. Restrict the use of the ECDSA implementation in the Elliptic package until the update is applied.
Exploit
Fix
Improper Verification of Cryptographic Signature
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Elliptic
Suse