Skip to content

WS-2021-0153 (Medium) detected in ejs-2.7.4.tgz #443

@mend-bolt-for-github

Description

@mend-bolt-for-github

WS-2021-0153 - Medium Severity Vulnerability

Vulnerable Library - ejs-2.7.4.tgz

Embedded JavaScript templates

Library home page: https://registry.npmjs.org/ejs/-/ejs-2.7.4.tgz

Path to dependency file: react-accordion-ts/demo/package.json

Path to vulnerable library: react-accordion-ts/demo/node_modules/ejs

Dependency Hierarchy:

  • parcel-2.0.0-nightly.716.tgz (Root Library)
    • @parcel/reporter-dev-server-2.0.0-nightly.718.tgz
      • ejs-2.7.4.tgz (Vulnerable Library)

Found in HEAD commit: 72c14dca3963ef45ea07969407a69575c6dbd7d2

Vulnerability Details

Arbitrary Code Injection vulnerability was found in ejs before 3.1.6. Caused by filename which isn't sanitized for display.

Publish Date: 2021-01-22

URL: WS-2021-0153

CVSS 3 Score Details (4.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: High
    • 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: mde/ejs#571

Release Date: 2021-01-22

Fix Resolution: ejs - 3.1.6


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions