CVE-2024-42460 Elliptic's ECDSA missing check for whether leading bit of r and s is zero

Medium 5.3 Published Updated

The Elliptic library allows ECDSA signature malleability due to missing checks on signature components, potentially affecting cryptographic integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42460?

CVE-2024-42460 is a medium-severity vulnerability in n/a, published on 2 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.

Weakness: CWE-130

Which versions are affected by CVE-2024-42460?

2 open source packages ship an affected version, including elliptic. It affects 1 product.

PackageAffectedFixed in
elliptic npmFrom 2.0.06.5.7
elliptic npmFrom 2.0.06.5.7

Products include Indutny Elliptic.

How do I fix CVE-2024-42460?

Upgrade elliptic to 6.5.7 or later.

Is CVE-2024-42460 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42460 exists.

Sources

Also known as AZL-47430, DEBIAN-CVE-2024-42460, GHSA-977x-g7h5-7qgw, UBUNTU-CVE-2024-42460.

Is CVE-2024-42460 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free