vforge / ts-model

TypeScript ES6 Model mashup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2021-23383 (High) detected in handlebars-4.1.2.tgz

mend-bolt-for-github opened this issue · comments

CVE-2021-23383 - High Severity Vulnerability

Vulnerable Library - handlebars-4.1.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.1.2.tgz

Path to dependency file: /ts-model/package.json

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

Dependency Hierarchy:

  • tsdx-0.5.9.tgz (Root Library)
    • jest-24.8.0.tgz
      • jest-cli-24.8.0.tgz
        • core-24.8.0.tgz
          • reporters-24.8.0.tgz
            • istanbul-reports-2.2.4.tgz
              • handlebars-4.1.2.tgz (Vulnerable Library)

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 (tsdx): 0.5.10


Step up your Open Source Security Game with Mend here