{"id":"CVE-2022-21213","published":"2022-06-17T20:05:12Z","modified":"2024-09-16T19:26:02Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02149,"percentile":0.82556,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/mout/mout/blob/master/src/object/deepFillIn.js","tags":["x_refsource_MISC"]},{"url":"https://github.com/mout/mout/blob/master/src/object/deepMixIn.js","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JS-MOUT-2342654","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2870622","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-2870623","tags":["x_refsource_MISC"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":16.51},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"mout","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"mout","vulnerableRanges":["<1.2.4"],"patched":["1.2.4"],"from":["GHSA-vvv8-xw5f-3f88"],"provenance":"source"}],"summary":{"text":"A prototype pollution flaw exists in the mout package, in its deepFillIn and deepMixIn functions, which recursively write into target objects without checking the key used for recursion. An attacker with network access and no authentication or user interaction can supply crafted keys to these functions to pollute object prototypes, which can impact the availability of the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:25Z"},"euvd":{"id":"EUVD-2022-6167","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mout-cve-2020-7792","parents":[{"from":"CVE-2020-7792","to":"CVE-2022-21213","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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.","from":"CVE.org","in":"CVE-2022-21213"},{"kind":"version-step","provenance":"source","package":"npm:mout","fromFixed":"1.2.3","toFixed":"1.2.4","daysApart":553},{"kind":"same-code","provenance":"machine","files":["src/object/set.js"],"commits":["https://github.com/mout/mout/commit/3fecf1333e6d71ae72edf48c71dc665e40df7605","https://github.com/mout/mout/commit/17ffdc2a96417a63a0147156dc045e90d0d14c64"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.85,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2020-7792","published":"2020-12-11","fixed":"1.2.3","kev":false},{"cve":"CVE-2022-21213","published":"2022-06-17","fixed":"1.2.4","kev":false}],"package":"npm:mout"}}