{"id":"GHSA-gmwp-3pwc-3j3g","summary":"mockery is vulnerable to prototype pollution","details":"Prototype pollution vulnerability in function enable in mockery.js in mfncooper mockery commit 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf via the key variable in mockery.js.","aliases":["CVE-2022-37614"],"modified":"2023-11-08T04:10:09.303137Z","published":"2022-10-12T19:00:41Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-07-28T21:01:11Z","nvd_published_at":"2022-10-12T12:15:00Z","cwe_ids":["CWE-1321"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37614"},{"type":"WEB","url":"https://github.com/mfncooper/mockery/issues/77"},{"type":"PACKAGE","url":"https://github.com/mfncooper/mockery"},{"type":"WEB","url":"https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L119"},{"type":"WEB","url":"https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L62"}],"affected":[{"package":{"name":"mockery","ecosystem":"npm","purl":"pkg:npm/mockery"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-gmwp-3pwc-3j3g/GHSA-gmwp-3pwc-3j3g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}