CVE-2021-25945 Prototype pollution vulnerability in js-extend

Critical 9.8 Published Updated

Prototype pollution in js-extend allows attackers to cause denial of service and potentially execute remote code.

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-2021-25945?

CVE-2021-25945 is a critical code injection vulnerability in js-extend, published on 26 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Prototype pollution vulnerability in 'js-extend' versions 0.0.1 through 1.0.1 allows attacker to cause a denial of service and may lead to remote code execution.

Weakness: CWE-1321

Which versions are affected by CVE-2021-25945?

2 open source packages ship an affected version, including js-extend. It affects 1 product.

PackageAffectedFixed in
js-extend npmAll versions to 1.0.1None
js-extend npmAll versions to 1.0.1None

Products include Js-Extend Project Js-Extend.

How do I fix CVE-2021-25945?

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

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

Is CVE-2021-25945 being exploited?

There is no known exploitation of CVE-2021-25945 in the wild and no public exploit code.

Sources

Also known as GHSA-mh82-55cm-6gfh.

Is CVE-2021-25945 in your software?

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

Check your SBOMs for free