advanced-web-developer-bootcamp-notes-examples-and-exercises icon indicating copy to clipboard operation
advanced-web-developer-bootcamp-notes-examples-and-exercises copied to clipboard

CVE-2019-20922 (High) detected in handlebars-4.0.11.tgz

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

CVE-2019-20922 - High Severity Vulnerability

Vulnerable Library - handlebars-4.0.11.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.11.tgz

Path to dependency file: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/package.json

Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/handlebars/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • jest-20.0.4.tgz
      • jest-cli-20.0.4.tgz
        • istanbul-api-1.3.1.tgz
          • istanbul-reports-1.3.0.tgz
            • :x: handlebars-4.0.11.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources. Mend Note: Converted from WS-2019-0491, on 2022-11-08.

Publish Date: 2020-09-30

URL: CVE-2019-20922

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://www.npmjs.com/advisories/1300

Release Date: 2020-09-30

Fix Resolution (handlebars): 4.4.5

Direct dependency fix Resolution (react-scripts): 1.1.5


Step up your Open Source Security Game with Mend here