{"api_version":"1","generated_at":"2026-06-02T23:40:09+00:00","cve":"CVE-2022-2564","urls":{"html":"https://cve.report/CVE-2022-2564","api":"https://cve.report/api/cve/CVE-2022-2564.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-2564","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-2564"},"summary":{"title":"CVE-2022-2564","description":"Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.","state":"PUBLIC","assigner":"security@huntr.dev","published_at":"2022-07-28 20:15:00","updated_at":"2024-03-12 17:30:00"},"problem_types":["CWE-1321"],"metrics":[],"references":[{"url":"https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd","name":"https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd","refsource":"CONFIRM","tags":[],"title":"huntr – Security Bounties for any GitHub repository","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6","name":"https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6","refsource":"MISC","tags":[],"title":"Comparing 6.4.5...6.4.6 · Automattic/mongoose · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8","name":"https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8","refsource":"MISC","tags":[],"title":"fix(schema): disallow setting __proto__ when creating schema with dot… · Automattic/mongoose@a45cfb6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141","name":"https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141","refsource":"MISC","tags":[],"title":"mongoose/schema.js at 51e758541763b6f14569744ced15cc23ab8b50c6 · Automattic/mongoose · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2564","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2564","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"2564","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mongoosejs","cpe5":"mongoose","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@huntr.dev","ID":"CVE-2022-2564","STATE":"PUBLIC","TITLE":"Prototype Pollution in automattic/mongoose"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"automattic/mongoose","version":{"version_data":[{"version_affected":"<","version_value":"6.4.6"}]}}]},"vendor_name":"automattic"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141","url":"https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141"},{"name":"https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd","refsource":"CONFIRM","url":"https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd"},{"name":"https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8","refsource":"MISC","url":"https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8"},{"refsource":"MISC","name":"https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6","url":"https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6"}]},"source":{"advisory":"055be524-9296-4b2f-b68d-6d5b810d1ddd","discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-07-28 20:15:00","lastModifiedDate":"2024-03-12 17:30:00","problem_types":["CWE-1321"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*","versionEndExcluding":"5.13.15","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*","versionStartIncluding":"6.0.0","versionEndExcluding":"6.4.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}