CVE-2024-39008 robinweser fast-loops vulnerable to prototype pollution

Critical 10.0 Published Updated

Attackers can execute arbitrary code or cause denial of service via prototype pollution in the fast-loops JavaScript library.

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

CVE-2024-39008 is a critical code injection vulnerability in n/a, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

robinweser fast-loops v1.1.3 was discovered to contain a prototype pollution via the function objectMergeDeep. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

Weakness: CWE-1321

Which versions are affected by CVE-2024-39008?

2 open source packages ship an affected version, including fast-loops.

PackageAffectedFixed in
fast-loops npmAll versions1.1.4
fast-loops npmAll versions1.1.4

How do I fix CVE-2024-39008?

Upgrade fast-loops to 1.1.4 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-39008 being exploited?

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

Sources

Also known as GHSA-3q56-9cc2-46j4.

Is CVE-2024-39008 in your software?

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

Check your SBOMs for free