Closed
Description
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: /ui/package.json
Path to vulnerable library: /ui/node_modules/ejs/package.json
Dependency Hierarchy:
- @postgres.ai/ce-1.0.0.tgz (Root Library)
- react-scripts-4.0.3.tgz
- workbox-webpack-plugin-5.1.4.tgz
- workbox-build-5.1.4.tgz
- rollup-plugin-off-main-thread-1.4.2.tgz
- ❌ ejs-2.7.4.tgz (Vulnerable Library)
- rollup-plugin-off-main-thread-1.4.2.tgz
- workbox-build-5.1.4.tgz
- workbox-webpack-plugin-5.1.4.tgz
- react-scripts-4.0.3.tgz
Found in HEAD commit: b3ac62d12e3d43994ff7ad836e34da801ed665fb
Found in base branch: master
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
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
Labels
Security vulnerability detected by WhiteSourceSecurity vulnerability detected by WhiteSource