Vulnerability Details : CVE-2022-37614
Potential exploit
Prototype pollution vulnerability in function enable in mockery.js in mfncooper mockery commit 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf via the key variable in mockery.js.
Products affected by CVE-2022-37614
- cpe:2.3:a:mockery_project:mockery:2.1.0:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-37614
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 27 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-37614
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-05-15 |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2022-37614
-
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2022-37614
-
https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L62
mockery/mockery.js at 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf · mfncooper/mockery · GitHubExploit;Third Party Advisory
-
https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L119
mockery/mockery.js at 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf · mfncooper/mockery · GitHubThird Party Advisory
-
https://github.com/mfncooper/mockery/issues/77
CVE-2022-37614/Prototype pollution found in mockery.js · Issue #77 · mfncooper/mockery · GitHubIssue Tracking;Third Party Advisory
Jump to