GHSA-gmwp-3pwc-3j3g
Dashboard / Vulnerabilities / 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.
References: 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
Affected packages
Package
Name: mockery
Purl: pkg:npm/mockery
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
