GitHub Advisoryadvisory · npm

GHSA-vvv8-xw5f-3f88 Prototype Pollution in mout

HIGH Published 2022-06-18 Modified 2022-06-20 Official page ↗
Aliases
CVE-2022-21213
Ecosystem
npm
Packages
mout
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1321
Reviewed
2022-06-20

Affected packages

• npm mout: < 1.2.4 → fixed in 1.2.4

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.

Related

Alias · CVE (1)

  • CVE-2022-21213 This affects all versions of package mout. vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References