Skip to content

CVE-2021-23383 (High) detected in multiple libraries - autoclosed #197

Closed
@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2021-23383 - High Severity Vulnerability

Vulnerable Libraries - handlebars-4.5.3.tgz, handlebars-4.7.5.tgz, handlebars-4.4.3.tgz, handlebars-4.4.2.tgz

handlebars-4.5.3.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz

Path to dependency file: /integration/cli-hello-world-ivy-compat/package.json

Path to vulnerable library: /integration/cli-hello-world-ivy-compat/node_modules/handlebars/package.json,/integration/cli-hello-world/node_modules/handlebars/package.json,/integration/cli-hello-world-ivy-minimal/node_modules/handlebars/package.json

Dependency Hierarchy:

  • karma-coverage-istanbul-reporter-2.1.0.tgz (Root Library)
    • istanbul-api-2.1.6.tgz
      • istanbul-reports-2.2.6.tgz
        • handlebars-4.5.3.tgz (Vulnerable Library)
handlebars-4.7.5.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.7.5.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • conventional-changelog-2.0.3.tgz (Root Library)
    • conventional-changelog-core-3.2.3.tgz
      • conventional-changelog-writer-4.0.11.tgz
        • handlebars-4.7.5.tgz (Vulnerable Library)
handlebars-4.4.3.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.4.3.tgz

Path to dependency file: /integration/cli-hello-world-lazy/package.json

Path to vulnerable library: /integration/cli-hello-world-lazy/node_modules/handlebars/package.json,/integration/cli-hello-world-lazy-rollup/node_modules/handlebars/package.json

Dependency Hierarchy:

  • karma-coverage-istanbul-reporter-2.1.0.tgz (Root Library)
    • istanbul-api-2.1.6.tgz
      • istanbul-reports-2.2.6.tgz
        • handlebars-4.4.3.tgz (Vulnerable Library)
handlebars-4.4.2.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.4.2.tgz

Path to dependency file: /integration/cli-hello-world-ivy-i18n/package.json

Path to vulnerable library: /integration/cli-hello-world-ivy-i18n/node_modules/handlebars/package.json,/integration/ivy-i18n/node_modules/handlebars/package.json

Dependency Hierarchy:

  • karma-coverage-istanbul-reporter-2.1.0.tgz (Root Library)
    • istanbul-api-2.1.6.tgz
      • istanbul-reports-2.2.6.tgz
        • handlebars-4.4.2.tgz (Vulnerable Library)

Found in base branch: labs/router

Vulnerability Details

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to compile templates coming from an untrusted source.

Publish Date: 2021-05-04

URL: CVE-2021-23383

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • 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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23383

Release Date: 2021-05-04

Fix Resolution (handlebars): 4.7.7

Direct dependency fix Resolution (karma-coverage-istanbul-reporter): 2.1.1

Fix Resolution (handlebars): 4.7.7

Direct dependency fix Resolution (conventional-changelog): 3.0.1

Fix Resolution (handlebars): 4.7.7

Direct dependency fix Resolution (karma-coverage-istanbul-reporter): 2.1.1

Fix Resolution (handlebars): 4.7.7

Direct dependency fix Resolution (karma-coverage-istanbul-reporter): 2.1.1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions