CVE-2022-21213
Prototype Pollution in mout
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-1321
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | mout | <1.2.4 | 1.2.4 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/mout/mout
- github.com https://github.com/mout/mout/blob/master/src/object/deepFillIn.js
- github.com https://github.com/mout/mout/blob/master/src/object/deepMixIn.js
- github.com https://github.com/mout/mout/commit/17ffdc2a96417a63a0147156dc045e90d0d14c64
- github.com https://github.com/mout/mout/pull/279
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-21213
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622
- snyk.io https://snyk.io/vuln/SNYK-JS-MOUT-2342654
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.