CVE-2022-37614 mockery is vulnerable to prototype pollution

Critical 9.8 Published Updated

Prototype pollution in mockery.js allows attackers to modify object prototypes, potentially leading to code execution or security bypasses in Node.js applications.

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-2022-37614?

CVE-2022-37614 is a critical vulnerability in n/a, published on 12 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Prototype pollution vulnerability in function enable in mockery.js in mfncooper mockery commit 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf via the key variable in mockery.js.

Weakness: CWE-1321

Which versions are affected by CVE-2022-37614?

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

PackageAffectedFixed in
mockery npmAll versions to 2.1.0None
mockery npmAll versions to 2.1.0None

Products include Mockery Project Mockery.

How do I fix CVE-2022-37614?

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

Is CVE-2022-37614 being exploited?

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

Sources

Also known as GHSA-gmwp-3pwc-3j3g.

Is CVE-2022-37614 in your software?

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

Check your SBOMs for free