Skip to content

CVE-2021-23337 (High) detected in lodash.template-4.5.0.tgz, lodash-4.17.10.tgz #18

@mend-for-github-com

Description

@mend-for-github-com

CVE-2021-23337 - High Severity Vulnerability

Vulnerable Libraries - lodash.template-4.5.0.tgz, lodash-4.17.10.tgz

lodash.template-4.5.0.tgz

The Lodash method `_.template` exported as a module.

Library home page: https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/lodash.template/package.json

Dependency Hierarchy:

  • lerna-3.2.1.tgz (Root Library)
    • version-3.2.0.tgz
      • conventional-commits-3.0.2.tgz
        • conventional-changelog-core-2.0.11.tgz
          • git-raw-commits-1.3.6.tgz
            • lodash.template-4.5.0.tgz (Vulnerable Library)
lodash-4.17.10.tgz

Lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • lerna-3.2.1.tgz (Root Library)
    • add-3.2.0.tgz
      • command-3.1.3.tgz
        • lodash-4.17.10.tgz (Vulnerable Library)

Found in HEAD commit: 540c99a1154755210d6564a50420589ebbf7f97c

Found in base branch: master

Vulnerability Details

Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

Publish Date: 2021-02-15

URL: CVE-2021-23337

CVSS 3 Score Details (7.2)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-35jh-r3h4-6jhm

Release Date: 2021-02-15

Fix Resolution: lodash - 4.17.21, lodash-es - 4.17.21

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions