CVE-2022-24304
CRITICAL 9.8CVSS 3.1Mongoose Vulnerable to Prototype Pollution in Schema Object
Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2022-2564. Reason: This candidate is a duplicate of CVE-2022-2564. Notes: All CVE users should reference CVE-2022-2564 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage
- Published
- 26 Aug 2022
- Last modified
- 22 Apr 2024
- Assigned by
- cve@mitre.org
- NVD status
- Rejected
- Weakness
- CWE-1321
- Also known as
- GHSA-h8hf-x3f4-xwgp
- Sources
- NVDJSONOSV GHSA-h8hf-x3f4-xwgpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | mongoose | >= 6.0.0, < 6.4.6 | 6.4.6 |
| OSV | npm | mongoose | < 5.13.15 | 5.13.15 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24304 · ADVISORY
- https://github.com/Automattic/mongoose/issues/12085 · WEB
- https://github.com/Automattic/mongoose/commit/6a197316564742c0422309e1b5fecfa4faec126e · WEB
- https://github.com/Automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8 · WEB
- https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141 · WEB
- https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Aug 2022)