{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-2564","id":"CVE-2022-2564","title":"Prototype Pollution in automattic/mongoose","description":"Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.","descriptionLong":"Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.","published":"2022-07-28T15:21:20.000Z","updated":"2026-10-28T02:31:04.556397357Z","reserved":"2022-07-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"GitHub"},{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"@huntrdev"},{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"huntr.dev"},{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"OSV"}],"rating":"critical","products":["automattic/mongoose"],"affectedProducts":[{"vendor":"automattic","product":"automattic/mongoose","defaultStatus":null,"versions":[{"lessThan":"6.4.6","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[">=6.0.0 <6.4.6","<5.13.15"],"fixed":["6.4.6","5.13.15"],"advisory":"GHSA-f825-f98c-gj3g"}],"cwes":["CWE-1321"],"aliases":["BIT-mongoose-2022-2564","GHSA-f825-f98c-gj3g"],"references":[{"url":"https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2564.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2564","tags":["advisory"]},{"url":"https://github.com/Automattic/mongoose/commit/99b418941e2fc974199b8e5bd9d382bb50bf680a","tags":["web"]},{"url":"https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md","tags":["web"]},{"url":"https://github.com/automattic/mongoose","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.31301,"epssPercentile":0.98309,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-2564","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2564","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-2564","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f825-f98c-gj3g","ok":true,"note":"GHSA-f825-f98c-gj3g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-2564","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 31% with CVSS 9.8"],"attention":null}