GHSA-gmwp-3pwc-3j3g
mockery is vulnerable to prototype pollution
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
Prototype pollution vulnerability in function enable in mockery.js in mfncooper mockery commit 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf via the key variable in mockery.js.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-37614
- https://github.com/mfncooper/mockery/issues/77
- https://github.com/mfncooper/mockery
- https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L119
- https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L62