Vulnerability · Published Oct 15, 2024 · Assigned by mitre
CVE-2024-48948
Medium 4.8
In plain English
A medium-severity security flaw in the node-elliptic package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-elliptic | no fix listed | DEBIAN-CVE-2024-48948 |
| Debian:13 | node-elliptic | 6.6.1+dfsg-1 | DEBIAN-CVE-2024-48948 |
| Debian:14 | node-elliptic | 6.6.1+dfsg-1 | DEBIAN-CVE-2024-48948 |
| Ubuntu:22.04:LTS | node-elliptic | no fix listed | UBUNTU-CVE-2024-48948 |
| Ubuntu:24.04:LTS | node-elliptic | no fix listed | UBUNTU-CVE-2024-48948 |
| Ubuntu:25.10 | node-elliptic | no fix listed | UBUNTU-CVE-2024-48948 |
| Ubuntu:26.04:LTS | node-elliptic | no fix listed | UBUNTU-CVE-2024-48948 |
| Ubuntu:26.10 | node-elliptic | no fix listed | UBUNTU-CVE-2024-48948 |
| npm | elliptic | 6.6.0 | GHSA-fc9h-whq2-v747 |
Affected products (as reported)
Weakness: CWE-347 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L