{"id":"CVE-2022-2564","published":"2022-07-28T15:21:20Z","modified":"2024-11-20T16:14:46Z","title":"Prototype Pollution in automattic/mongoose","vendor":"automattic","product":"automattic/mongoose","tier":"tail","description":{"text":"Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.31301,"percentile":0.98315,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141","tags":["x_refsource_MISC"]},{"url":"https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8","tags":["x_refsource_MISC"]},{"url":"https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6","tags":["x_refsource_MISC"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.66},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"automattic","affectedVersions":[{"vendor":"automattic","product":"automattic/mongoose","versions":[">= unspecified, < 6.4.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-20T16:14:31.845118Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mongoose","vulnerableRanges":[">=6.0.0, <6.4.6","<5.13.15"],"patched":["6.4.6","5.13.15"],"from":["GHSA-f825-f98c-gj3g"],"provenance":"source"}],"summary":{"text":"Prototype pollution exists in the automattic/mongoose library, a MongoDB object modeling package for Node.js, in versions prior to 6.4.6, where object prototype attributes can be improperly modified. An attacker with network access can exploit this without authentication or user interaction, though the attack is considered to have high complexity, and successful exploitation can affect confidentiality, integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:02:16Z"},"euvd":{"id":"EUVD-2022-6328","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-automattic-mongoose-cve-2022-2564","packageHistory":[{"cve":"CVE-2019-17426","published":"2019-10-10","fixed":"5.7.5","kev":false},{"cve":"CVE-2022-2564","published":"2022-07-28","fixed":"6.4.6","kev":false},{"cve":"CVE-2023-3696","published":"2023-07-17","fixed":"7.3.3","kev":false,"link":{"from":"CVE-2022-2564","to":"CVE-2023-3696","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mongoose","fromFixed":"6.4.6","toFixed":"6.11.3","daysApart":354},{"kind":"version-step","provenance":"source","package":"npm:mongoose","fromFixed":"5.13.15","toFixed":"5.13.20","daysApart":354},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2024-53900","published":"2024-12-02","fixed":"8.8.3","kev":false},{"cve":"CVE-2025-23061","published":"2025-01-15","fixed":"8.9.5","kev":false}],"package":"npm:mongoose"}}