CVE-2022-37614
Mockery Project Mockery vulnerability
Prototype pollution vulnerability in function enable in mockery.js in mfncooper mockery commit 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf via the key variable in mockery.js.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mockery. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mockery Project Mockery runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L119 · Third Party Advisory
- github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L62 · Exploit
- github.com/mfncooper/mockery/issues/77 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-37614
- cve.org/CVERecord?id=CVE-2022-37614
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.