axios icon indicating copy to clipboard operation
axios copied to clipboard

CVE-2021-23383 (Medium) detected in handlebars-4.0.5.tgz

Open mend-bolt-for-github[bot] opened this issue 3 years ago • 0 comments

CVE-2021-23383 - Medium Severity Vulnerability

Vulnerable Library - handlebars-4.0.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.0.5.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • grunt-contrib-nodeunit-1.0.0.tgz (Root Library)
    • nodeunit-0.9.5.tgz
      • tap-7.1.2.tgz
        • nyc-7.1.0.tgz
          • istanbul-reports-1.0.0-alpha.8.tgz
            • :x: handlebars-4.0.5.tgz (Vulnerable Library)

Found in HEAD commit: 91ceb6046aaa22e9934ed13ea5acba9c988c490c

Found in base branch: master

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 (5.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low
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.1.2-0

Direct dependency fix Resolution (grunt-contrib-nodeunit): 2.0.0


Step up your Open Source Security Game with Mend here