CVE-2024-48948

Medium

Description

The Elliptic package 6.5.7 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.

SeverityMedium
CVSS4.8
Exploit probability—
ProductIndutny Elliptic
PublishedOct 15, 2024
First seenOct 15, 2024
Weakness typeCWE-347CWE-347

How to fix

Update
  • elliptic6.6.0 or later

Affected products

ProductAffected versionsFixed in
indutny elliptic6.5.7—
ellipticnpmv < 6.6.06.6.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.