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).
Remediation
References
https://github.com/mout/mout/blob/master/src/object/deepFillIn.js
https://github.com/mout/mout/blob/master/src/object/deepMixIn.js
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622
https://snyk.io/vuln/SNYK-JS-MOUT-2342654
Related Vulnerabilities
CVE-2022-31167 Vulnerability in maven package org.xwiki.platform:xwiki-platform-security
CVE-2020-14359 Vulnerability in maven package org.keycloak:keycloak-core
CVE-2022-23913 Vulnerability in maven package org.apache.activemq:artemis-commons
CVE-2018-1002200 Vulnerability in maven package org.codehaus.plexus:plexus-archiver
CVE-2020-28480 Vulnerability in maven package org.webjars.bower:jointjs