CVE-2022-21213
HIGH 7.5CVSS 3.1Prototype Pollution in mout
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.
- Published
- 17 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-vvv8-xw5f-3f88
- Sources
- NVDJSONOSV GHSA-vvv8-xw5f-3f88JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moutjs | moutcpe:2.3:a:moutjs:mout:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | mout | < 1.2.4 | 1.2.4 |
References
- https://github.com/mout/mout/blob/master/src/object/deepFillIn.js · Exploit, Third Party Advisory, WEB
- https://github.com/mout/mout/blob/master/src/object/deepMixIn.js · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623 · Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622 · Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MOUT-2342654 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21213 · ADVISORY
- https://github.com/mout/mout/pull/279 · WEB
- https://github.com/mout/mout/commit/17ffdc2a96417a63a0147156dc045e90d0d14c64 · WEB
- https://github.com/mout/mout · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Jun 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jun 2022)