Prototype Pollution in Moutjs Mout
CVE-2022-21213
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).
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- Moutjs Mout
- Mout — versions 0
Weakness classification (CWE)
References
- github.com/mout/mout/blob/master/src/object/deepFillIn.js (Exploit, Third Party Advisory)
- github.com/mout/mout/blob/master/src/object/deepMixIn.js (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JS-MOUT-2342654 (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)
Frequently asked questions
- What is CVE-2022-21213?
- CVE-2022-21213 is a high-severity vulnerability in Moutjs Mout, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 7.5/10. Published 2022-06-17.
- How severe is CVE-2022-21213?
- High severity. CVSS v3 base score is 7.5 out of 10.