CVE-2022-21213 json
Prototype Pollution
published 2022-06-17 4 y ago modified 2026-06-17 4 mo ago also GHSA-vvv8-xw5f-3f88 , EUVD-2022-6167
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
This affects all versions of package mout. The deepFillIn function can be used to 'fill missing properties recursively', while the deepMixIn mixes objects into the target object, recursively mixing existing child objects as well. In both cases, the key used to access the target object recursively is not checked, leading to exploiting this vulnerability. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-7792](https://security.snyk.io/vuln/SNYK-JS-MOUT-1014544).
Patch / fix
Exploit prediction
2.15% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/mout/mout/blob/master/src/object/deepFillIn.js referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/mout/mout/blob/master/src/object/deepMixIn.js referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JS-MOUT-2342654 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622 referenced PoC, tagged "exploit" by a source, unverified
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mout | <1.2.4 |
1.2.4 |
Affected products
- n/a mout
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/mout/mout/pull/279
web
-
github.com
/mout/mout/commit/17ffdc2a96417a63a0147156dc045e90d0d14c64
web
-
github.com
/mout/mout/blob/master/src/object/deepFillIn.js
web, exploit, third-party-advisory
-
github.com
/mout/mout/blob/master/src/object/deepMixIn.js
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-MOUT-2342654
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622
exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARS-2870623
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21213
advisory
-
github.com
/mout/mout
package
Sources
- CVE List CVE-2022-21213
- GitHub Advisory GHSA-vvv8-xw5f-3f88
- NVD CVE-2022-21213
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.