Versions of the package eta before 2.0.0 are vulnerable to Remote Code Execution (RCE) by overwriting template engine configuration variables with view options received from The Express render API. **Note:** This is exploitable only for users who are rendering templates with user-defined data.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2022-25967 - High Severity Vulnerability
Vulnerable Library - eta-1.12.1.tgz
Lightweight, fast, and powerful embedded JS template engine
Library home page: https://registry.npmjs.org/eta/-/eta-1.12.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/eta/package.json
Dependency Hierarchy: - @graphql-tools/website-6.2.3.tgz (Root Library) - preset-classic-2.0.0-beta.ff31de0ff.tgz - theme-search-algolia-2.0.0-beta.ff31de0ff.tgz - :x: **eta-1.12.1.tgz** (Vulnerable Library)
Found in HEAD commit: 522129ce265decf86028571eea566ef21c50fd7f
Found in base branch: gh-pages
Vulnerability Details
Versions of the package eta before 2.0.0 are vulnerable to Remote Code Execution (RCE) by overwriting template engine configuration variables with view options received from The Express render API. **Note:** This is exploitable only for users who are rendering templates with user-defined data.
Publish Date: 2023-01-30
URL: CVE-2022-25967
CVSS 3 Score Details (8.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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
Release Date: 2023-01-30
Fix Resolution: eta - 2.0.0
Step up your Open Source Security Game with Mend here