Skip to content

CVE-2022-21213 (High) detected in mout-1.2.3.tgz, mout-0.11.1.tgz #33

@mend-for-github-com

Description

@mend-for-github-com

CVE-2022-21213 - High Severity Vulnerability

Vulnerable Libraries - mout-1.2.3.tgz, mout-0.11.1.tgz

mout-1.2.3.tgz

Modular Utilities

Library home page: https://registry.npmjs.org/mout/-/mout-1.2.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/mout/package.json

Dependency Hierarchy:

  • standard-4.5.4.tgz (Root Library)
    • standard-format-1.6.10.tgz
      • esformatter-0.8.2.tgz
        • mout-1.2.3.tgz (Vulnerable Library)
mout-0.11.1.tgz

Modular Utilities

Library home page: https://registry.npmjs.org/mout/-/mout-0.11.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/rocambole-indent/node_modules/mout/package.json

Dependency Hierarchy:

  • standard-4.5.4.tgz (Root Library)
    • standard-format-1.6.10.tgz
      • esformatter-0.8.2.tgz
        • rocambole-indent-2.0.4.tgz
          • mout-0.11.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

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).
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2022-06-17

URL: CVE-2022-21213

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2022-21213

Release Date: 2022-06-17

Fix Resolution (mout): 1.2.4

Direct dependency fix Resolution (standard): 6.0.0

Fix Resolution (mout): 1.2.4

Direct dependency fix Resolution (standard): 6.0.0


  • Check this box to open an automated fix PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions