Seagate / cortx

CORTX Community Object Storage is 100% open source object storage uniquely optimized for mass capacity storage devices.
https://github.com/Seagate/cortx
Apache License 2.0
626 stars 339 forks source link

WS-2021-0153 (High) detected in ejs-2.7.4.tgz #1102

Closed mend-for-github-com[bot] closed 3 years ago

mend-for-github-com[bot] commented 3 years ago

WS-2021-0153 - High 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: cortx/doc/integrations/edgehealth/edgehealth-chatbot/package.json

Path to vulnerable library: cortx/doc/integrations/edgehealth/edgehealth-chatbot/node_modules/ejs/package.json,cortx/doc/integrations/edgehealth/edgehealth/node_modules/ejs/package.json,cortx/doc/integrations/Pytorch/client/node_modules/ejs/package.json

Dependency Hierarchy: - react-scripts-4.0.3.tgz (Root Library) - workbox-webpack-plugin-5.1.4.tgz - workbox-build-5.1.4.tgz - rollup-plugin-off-main-thread-1.4.2.tgz - :x: **ejs-2.7.4.tgz** (Vulnerable Library)

Found in HEAD commit: bfb735af119dd623d54d068cf1bd988b0de7f9e2

Found in base branch: main

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 (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://github.com/mde/ejs/issues/571

Release Date: 2021-01-22

Fix Resolution: ejs - 3.1.6

stale[bot] commented 3 years ago

This issue/pull request has been marked as needs attention as it has been left pending without new activity for 4 days. Tagging @mukul-seagate11 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.