ECDSA Signature Malleability in Node.js Elliptic Package - CVE-2024-42461

node-elliptic Updated 02 Oct 2025

Summary

02/08/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-42461: In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because BER-encoded signatures are allowed. Affects node-elliptic versions < 6.5.7+dfsg-1. Fixed in 6.5.7+dfsg-1. 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

The Elliptic package is a widely used library in Node.js for elliptic curve cryptography, providing functionalities for secure communications and data integrity. It supports various elliptic curve algorithms, including ECDSA (Elliptic Curve Digital Signature Algorithm). The package is integral for developers implementing cryptographic features in their applications. However, a vulnerability has been identified in version 6.5.6, which can lead to ECDSA signature malleability, posing risks to the integrity of cryptographic operations.

Vulnerability Detail

In the Elliptic package version 6.5.6, a vulnerability allows for ECDSA signature malleability due to the acceptance of BER-encoded signatures. This means that an attacker could potentially alter the signature without invalidating it, leading to unauthorized actions or data manipulation. The issue arises from how the library encodes and decodes signatures, which can be exploited in scenarios where signature integrity is critical.

How To Fix

Minimum fixed version

6.5.7+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-elliptic

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, developers can implement additional validation checks on the signatures to ensure their integrity before processing them. However, this is not a substitute for updating the package.

Conclusion

The vulnerability identified as CVE-2024-42461 in the Elliptic package poses significant risks due to ECDSA signature malleability. It is crucial for developers to update to the patched version to maintain the integrity of their cryptographic operations. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for node-elliptic →

Share this vulnerability

FAQ

CVE-2024-42461 is a vulnerability in the Elliptic package for Node.js that allows for ECDSA signature malleability, potentially compromising cryptographic operations.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include unauthorized actions or data manipulation due to the ability of an attacker to alter valid signatures.

Yes, a patch is available in version 6.5.7+dfsg-1 of the Elliptic package. Updating to this version will resolve the vulnerability.

If immediate updating is not possible, implement additional validation checks on signatures as a temporary workaround until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for node-elliptic.

How To Fix

Minimum fixed version

6.5.7+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-elliptic

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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