Critical Vulnerability in Node-Elliptic Package: Signature Verification Flaw

node-elliptic Updated 03 Oct 2025

Summary

15/10/2024
N/A
No i
Medium
4.8

UBUNTU-CVE-2024-48948: 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... Affects node-elliptic versions 6.4.0+dfsg-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Node-Elliptic is a widely used cryptographic library for Node.js that implements elliptic curve cryptography. It is essential for secure communications and transactions, providing functionalities such as digital signatures and key exchange. However, a recent vulnerability has been identified that affects its ECDSA implementation, potentially compromising the integrity of applications relying on this package.

Vulnerability Detail

The vulnerability, identified as CVE-2024-48948, arises from an anomaly in the ECDSA implementation of the Elliptic package version 6.5.7. It fails to correctly verify valid signatures when the hash contains at least four leading zero bytes, particularly when the order of the elliptic curve's base point is smaller than the hash. This flaw can lead to legitimate signatures being incorrectly flagged as invalid, resulting in failed transactions or communications. The CVSS score for this vulnerability is 4.8, indicating a medium severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, developers can implement additional validation checks in their applications to ensure that signatures are verified correctly, especially when dealing with hashes that may contain leading zero bytes. However, this is not a substitute for applying the official patch.

Conclusion

The Node-Elliptic package has a critical vulnerability that affects its signature verification process, potentially leading to significant issues in applications that utilize it. It is essential to update to the patched version to ensure the integrity of cryptographic operations. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for node-elliptic →

Share this vulnerability

FAQ

CVE-2024-48948 is a vulnerability in the Node-Elliptic package that affects the ECDSA signature verification process, potentially leading to legitimate signatures being rejected.

If your application relies on the Node-Elliptic package for cryptographic operations, it may incorrectly flag valid signatures as invalid, disrupting transactions and communications.

Versions of Node-Elliptic prior to 6.5.7 are affected by this vulnerability. It is recommended to update to the latest version to mitigate risks.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Yes, Vulert provides real-time monitoring for open-source vulnerabilities without requiring code access or installation. You can use their playground to check your application for vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for node-elliptic.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback