Vulnerability Details : CVE-2022-2564
Potential exploit
Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
Products affected by CVE-2022-2564
- cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-2564
1.73%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 81 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-2564
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.0
|
HIGH | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
2.2
|
4.7
|
huntr.dev | |
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-2564
-
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:
- nvd@nist.gov (Primary)
- security@huntr.dev (Secondary)
References for CVE-2022-2564
-
https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd
Possible prototype pollution in Schema.path vulnerability found in mongooseExploit;Issue Tracking;Patch;Third Party Advisory
-
https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141
mongoose/schema.js at 51e758541763b6f14569744ced15cc23ab8b50c6 · Automattic/mongoose · GitHubExploit;Third Party Advisory
-
https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8
fix(schema): disallow setting __proto__ when creating schema with dot… · Automattic/mongoose@a45cfb6 · GitHubPatch;Third Party Advisory
-
https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6
Comparing 6.4.5...6.4.6 · Automattic/mongoose · GitHubPatch;Third Party Advisory
Jump to