HIGH7.5
GHSA-vvv8-xw5f-3f88
Prototype Pollution in mout
Quick fix
GHSA-vvv8-xw5f-3f88 — mout: upgrade to the fixed version with the command below.
npm install mout@1.2.4Details
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).
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- 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]
- https://github.com/mout/mout/blob/master/src/object/deepFillIn.js[WEB]
- https://github.com/mout/mout/blob/master/src/object/deepMixIn.js[WEB]
- https://snyk.io/vuln/SNYK-JS-MOUT-2342654[WEB]