CVE-2024-38986 @75lb/deep-merge Prototype Pollution vulnerability

Critical 9.8 Published Updated

Prototype pollution in the deep-merge library allows attackers to execute arbitrary code or cause denial of service via merge methods.

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

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

Official description

Prototype Pollution in 75lb deep-merge 1.1.1 allows attackers to execute arbitrary code or cause a Denial of Service (DoS) and cause other impacts via merge methods of lodash to merge objects.

Weakness: CWE-1321

Which versions are affected by CVE-2024-38986?

2 open source packages ship an affected version, including @75lb/deep-merge. It affects 1 product.

PackageAffectedFixed in
@75lb/deep-merge npmAll versions1.1.2
@75lb/deep-merge npmAll versions1.1.2

Products include 75lb Deep-Merge.

How do I fix CVE-2024-38986?

Upgrade @75lb/deep-merge to 1.1.2 or later.

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

Is CVE-2024-38986 being exploited?

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

Sources

Also known as GHSA-28mc-g557-92m7.

Is CVE-2024-38986 in your software?

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

Check your SBOMs for free