CVE-2022-2564: automattic automattic/mongoose Prototype Pollution
CVSS: 9.8v3.1CriticalModified
AliasesGHSA-f825-f98c-gj3gBIT-mongoose-2022-2564
Published 28-07-2022Last modified 20-11-2024
Vulnerability summary
CVE-2022-2564 is a critical (CVSS 9.8) Prototype Pollution vulnerability in automattic automattic/mongoose. EPSS estimates a 31.30% chance of exploitation in the next 30 days, higher than 98.2% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
31.30%
0%100%
High · -1.37 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference
Advisory lineage
Upstream 0 · Downstream 0 · Duplicates 1Timeline
- 28-07-2022PublishedVulnerability first disclosed.
- 20-11-2024Last modifiedVulnerability information updated.
Description
Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
CVSS metrics
4 scores · 3 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSources2 sources · 7.0–9.8
- OSV · NpmEcosystem advisory · calculated7.0HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:HDiffers
High 7.0Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:HSourcesAll 2 agree
- NVDNIST7.0HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
31.30%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
-1.37 pp
From 32.68% on 20-09-2026
20-09-202620-10-2026
EPSS score31.30%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundMongoose
Maturity: poc
Exploit Reference (huntr.dev)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Automattic1 product
- automattic/mongoose≥ unspecified, < 6.4.6
Mongoosejs1 product
- mongoose< 5.13.15 | ≥ 6.0.0, < 6.4.6
Npm1 product
- mongoose≥ 6.0.0, < 6.4.6 | < 5.13.15
3 vendors · 3 products
References
8 links- github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.jsX Refsource MISCWEBExploitThird Party Advisory
- huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1dddX Refsource CONFIRMWEBExploitIssue TrackingPatchThird Party Advisory
- github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8X Refsource MISCWEBPatchThird Party Advisory