CVE-2022-2564
Mongoosejs Mongoose vulnerability
Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mongoose. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mongoosejs Mongoose runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Automattic/mongoose/compare/6.4.5...6.4.6 · Patch
- github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8 · Patch
- huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd · Exploit
- github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-2564
- cve.org/CVERecord?id=CVE-2022-2564
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.