AlexRogalskiy / java-patterns

šŸ† Java4You Design patterns
https://alexander-rogalsky.gitbook.io/java-patterns/
GNU General Public License v3.0
11 stars 4 forks source link

CVE-2019-20920 (High) detected in handlebars-3.0.8.tgz #964

Closed mend-bolt-for-github[bot] closed 1 year ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2019-20920 - High Severity Vulnerability

Vulnerable Library - handlebars-3.0.8.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-3.0.8.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/command-line-args/node_modules/handlebars/package.json

Dependency Hierarchy: - roadmarks-1.6.3.tgz (Root Library) - command-line-args-0.5.9.tgz - :x: **handlebars-3.0.8.tgz** (Vulnerable Library)

Found in HEAD commit: 293ab07ba323c57f39a3e1d9c3bc0f2e7ecf9e11

Found in base branch: master

Vulnerability Details

Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).

Publish Date: 2020-09-30

URL: CVE-2019-20920

CVSS 3 Score Details (8.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1324

Release Date: 2020-10-15

Fix Resolution: handlebars - 4.5.3


Step up your Open Source Security Game with WhiteSource here

github-actions[bot] commented 2 years ago

šŸ‘‹ Thanks for reporting!

github-actions[bot] commented 2 years ago

Message that will be displayed on users' first issue

github-actions[bot] commented 1 year ago

Greetings! Sorry to say but this is a very old issue that is probably not getting as much attention as it deservers. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to open a new one.

github-actions[bot] commented 3 months ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://github.com/AlexRogalskiy/java-patterns/blob/master/.github/ISSUE_TEMPLATE/bug_report.md), and link to this old issue if necessary.