CVE-2022-21213

high

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).

References

https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622

https://snyk.io/vuln/SNYK-JS-MOUT-2342654

https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623

https://github.com/mout/mout/blob/master/src/object/deepMixIn.js

https://github.com/mout/mout/blob/master/src/object/deepFillIn.js

Details

Source: MITRE

Published: 2022-06-17

Updated: 2022-06-28

Type: CWE-1321

Risk Information

CVSS v2

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH