CVE-2024-42459 Elliptic's EDDSA missing signature length check

Medium 5.3 Published Updated

Attackers can exploit signature malleability in the Elliptic library by manipulating zero-valued bytes, bypassing signature validation checks.

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-42459?

CVE-2024-42459 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, EDDSA signature malleability occurs because there is a missing signature length check, and thus zero-valued bytes can be removed or appended.

Weakness: CWE-347

Which versions are affected by CVE-2024-42459?

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

PackageAffectedFixed in
elliptic npmFrom 4.0.06.5.7
elliptic npmFrom 4.0.06.5.7

Products include Indutny Elliptic.

How do I fix CVE-2024-42459?

Upgrade elliptic to 6.5.7 or later.

Is CVE-2024-42459 being exploited?

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

Sources

Also known as AZL-47421, DEBIAN-CVE-2024-42459, GHSA-f7q4-pwc6-w24p, UBUNTU-CVE-2024-42459.

Is CVE-2024-42459 in your software?

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

Check your SBOMs for free