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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2024-48948 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking
- github.com exploit issue-tracking patch
- github.com patch
- security.netapp.com third-party-advisory
- blog.trailofbits.com
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- github.com product