CVE-2022-2564
criticalpriority · attend · 50EPSS 0.313 · 98 %ileEUUSEPSS · scored 2026-10-27
Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-f825-f98c-gj3gautomattic/mongoose vulnerable to Prototype pollution via Schema.path2022-07-29ghsa · osvUS
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Affected versions of this package are vulnerable to Prototype Pollution. The `Schema.path()` function is vulnerable to prototype pollution when setting the schema object. This vulnerability allows modification of the Object prototype and could be manipulated into a Denial of Service (DoS) attack.
- BIT-mongoose-2022-2564Prototype Pollution in automattic/mongoose2024-03-06vendor · osvUS
Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-2564/cnnvd
- https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141cnnvd
- https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6cnnvd
- https://github.com/automattic/mongoosePatchcnnvd
- https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8cnnvd
- https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1dddcnnvd
- https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141enisa_euvd
- https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan