ADVISORIES

GitHub Advisory Database

GHSA-gmwp-3pwc-3j3g

mockery is vulnerable to prototype pollution

Critical No fix available CVE-2022-37614

Details

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

Affected packages

EcosystemPackageAffected versions
npmmockery
All versions up to and including 2.1.0

References