7.5high
Prototype Pollution
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 2.15% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-vvv8-xw5f-3f88
Description
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mout | before unspecified | CVE List |
| mout (npm) | before 1.2.4 | GitHub Advisory Database |
| moutjs mout | Not specified | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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).
NVD (es)
Esto afecta a todas las versiones del paquete mout. La función deepFillIn puede usarse para "rellenar recursivamente las propiedades que faltan", mientras que la deepMixIn mezcla objetos en el objeto de destino, mezclando también recursivamente los objetos hijos existentes. En ambos casos, la clave usada para acceder al objeto de destino de forma recursiva no es comprobada, conllevando a una explotación de esta vulnerabilidad. **Nota:** Esta vulnerabilidad deriva de una corrección incompleta de [CVE-2020-7792](https://security.snyk.io/vuln/SNYK-JS-MOUT-1014544)
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-JS-MOUT-2342654 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622 | exploit, third-party-advisory | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623 | exploit, third-party-advisory | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21213 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vvv8-xw5f-3f88 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-21213 changed 2026-06-17 | Public domain |