CVE-2022-24304
1 advisory.
npm/mongoose CVE-2022-24304: critical 9.8
Mongoose Vulnerable to Prototype Pollution in Schema Object
Action: Upgrade mongoose to 5.13.15 or later.
npm i mongoose@6.4.6npm i mongoose@5.13.15Affected
| introduced | fixed | last affected |
|---|---|---|
| 6.0.0 | 6.4.6 | - |
| 0 | 5.13.15 | - |
Fixed versions
| 6.4.6 | 5.13.15 |
Sources
- osv: GHSA-h8hf-x3f4-xwgp
- https://nvd.nist.gov/vuln/detail/CVE-2022-24304
- https://github.com/Automattic/mongoose/issues/12085
- https://github.com/Automattic/mongoose/commit/6a197316564742c0422309e1b5fecfa4faec126e
- https://github.com/Automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8
- https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141
- https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd
CVE-2022-24304 · published · modified · JSON