Skip to content

CVE-2024-48948 Valid ECDSA signatures erroneously rejected in Elliptic

MediumCVSS 4.8 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 3 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/node-elliptic(Debian 12) = 6.5.4~dfsg-2; = 6.5.7+dfsg-1; = 6.6.1+dfsg+~6.4.18-1; = 6.6.1+dfsg+~6.4.18-2 +2 more No fix listed No fix yet
ubuntu/node-elliptic(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-elliptic(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-elliptic(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-elliptic(Ubuntu 26.10) All versions No fix listed No fix yet
debian/node-elliptic(Debian 13) < 6.6.1+dfsg-1 6.6.1+dfsg-1 Fixed
debian/node-elliptic(Debian 14) < 6.6.1+dfsg-1 6.6.1+dfsg-1 Fixed
npm elliptic(npm) < 6.6.0 6.6.0 Fixed
indutny elliptic = 6.5.7 No fix listed Versions listed
nodejs elliptic = 6.5.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/node-elliptic(Debian:12) All versions No fix listed
debian/node-elliptic(Debian:12) = 6.5.4~dfsg-2 No fix listed
debian/node-elliptic(Debian:12) = 6.5.7+dfsg-1 No fix listed
debian/node-elliptic(Debian:12) = 6.6.1+dfsg+~6.4.18-1 No fix listed
debian/node-elliptic(Debian:12) = 6.6.1+dfsg+~6.4.18-2 No fix listed
debian/node-elliptic(Debian:12) = 6.6.1+dfsg-1 No fix listed
debian/node-elliptic(Debian:13) < 6.6.1+dfsg-1 6.6.1+dfsg-1
debian/node-elliptic(Debian:14) < 6.6.1+dfsg-1 6.6.1+dfsg-1
npm elliptic(npm) < 6.6.0 6.6.0
ubuntu/node-elliptic(Ubuntu:22.04) All versions No fix listed
nodejs elliptic = 6.5.7 No fix listed
ubuntu/node-elliptic(Ubuntu:24.04) All versions No fix listed
indutny elliptic = 6.5.7 No fix listed
ubuntu/node-elliptic(Ubuntu:26.04) All versions No fix listed
ubuntu/node-elliptic(Ubuntu:26.10) All versions No fix listed

References