Closed mend-for-github-com[bot] closed 3 years ago
Waiting for https://github.com/jknack/handlebars.java/issues/848 to be merged and released
We recommend using templates that you control only and not coming from user inputs. Using the Freemarker engine for templating (i.e the symphony-bdk-template-freemarker module) is an alternative too.
CVE-2021-23369 - High Severity Vulnerability
Vulnerable Library - handlebars-4.2.0.jar
Logic-less and semantic templates with Java
Library home page: https://github.com/jknack/handlebars.java
Path to dependency file: symphony-bdk-java/symphony-bdk-template/symphony-bdk-template-handlebars/build.gradle
Path to vulnerable library: hes/modules-2/files-2.1/com.github.jknack/handlebars/4.2.0/116306614fd4d250af27fe1ef48665e7830fc10b/handlebars-4.2.0.jar
Dependency Hierarchy: - :x: **handlebars-4.2.0.jar** (Vulnerable Library)
Found in base branch: main
Vulnerability Details
The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.
Publish Date: 2021-04-12
URL: CVE-2021-23369
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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23369
Release Date: 2021-04-12
Fix Resolution: handlebars - 4.7.7