CVE-2024-57066 @ndhoule/defaults prototype pollution

High 7.5 Published Updated

Attackers can cause a Denial of Service in applications using the @ndhoule/defaults library by exploiting prototype pollution in the lib.deep function.

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

What is CVE-2024-57066?

CVE-2024-57066 is a high-severity vulnerability in n/a, published on 5 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A prototype pollution in the lib.deep function of @ndhoule/defaults v2.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

Weakness: CWE-1321

Which versions are affected by CVE-2024-57066?

2 open source packages ship an affected version, including @ndhoule/defaults.

PackageAffectedFixed in
@ndhoule/defaults npmAll versions to 2.0.1None
@ndhoule/defaults npmAll versions to 2.0.1None

How do I fix CVE-2024-57066?

No fix has been published for CVE-2024-57066 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-57066 being exploited?

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

Sources

Also known as GHSA-79h2-v6hh-wq23.

Is CVE-2024-57066 in your software?

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

Check your SBOMs for free