loftwah/casualcoder.io

CVE-2021-3777 (High) detected in tmpl-1.0.4.tgz

Opened this issue · 0 comments

CVE-2021-3777 - High Severity Vulnerability

Vulnerable Library - tmpl-1.0.4.tgz

JavaScript micro templates.

Library home page: https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz

Path to dependency file: /wp-content/themes/twentytwenty/package.json

Path to vulnerable library: /wp-content/themes/twentytwenty/node_modules/tmpl/package.json

Dependency Hierarchy:

  • scripts-16.1.2.tgz (Root Library)
    • jest-26.6.3.tgz
      • core-26.6.3.tgz
        • jest-haste-map-26.6.2.tgz
          • walker-1.0.7.tgz
            • makeerror-1.0.11.tgz
              • tmpl-1.0.4.tgz (Vulnerable Library)

Found in HEAD commit: 928b87c3f458bb28df552e1c49bfeb1231a16bcf

Found in base branch: main

Vulnerability Details

nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-15

URL: CVE-2021-3777

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

Release Date: 2021-09-15

Fix Resolution (tmpl): 1.0.5

Direct dependency fix Resolution (@wordpress/scripts): 16.1.3


Step up your Open Source Security Game with Mend here