CVE-2024-42461
JavaScript vulnerability analysis and mitigation

Overview

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because BER-encoded signatures are allowed. The vulnerability was discovered and disclosed in August 2024, affecting the cryptographic signature verification functionality in the Elliptic library (NVD, Debian).

Technical details

The vulnerability stems from improper validation of ECDSA signatures encoded in BER format, which allows leading zeros to be manipulated. The issue has been assigned a CVSS v3.1 base score of 9.1 (CRITICAL) by NIST with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, while CISA-ADP assessed it at 5.3 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. The vulnerability is classified under CWE-347 (Improper Verification of Cryptographic Signature) (NVD).

Impact

The vulnerability could allow attackers to manipulate ECDSA signatures by exploiting the BER-encoding validation weakness, potentially leading to signature malleability issues that could compromise the integrity of cryptographic operations (GitHub PR).

Mitigation and workarounds

The vulnerability has been fixed in version 6.5.7 of the Elliptic package. Users are advised to upgrade to this version or later. The fix includes additional checks during the decoding stage of ECDSA signatures to prevent signature malleability (GitHub PR).

Community reactions

The security community has shown significant interest in this vulnerability, with multiple security researchers and developers actively discussing the fix on GitHub. The pull request addressing this issue received notable attention and was merged after thorough review by the maintainers (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management