billmcchesney1 / foxtrot

A store abstraction and analytics system for real-time event data.
Apache License 2.0
0 stars 0 forks source link

CVE-2019-20920 (High) detected in handlebars-1.3.0.js #377

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2019-20920 - High Severity Vulnerability

Vulnerable Library - handlebars-1.3.0.js

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

Library home page: https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.js

Path to dependency file: /foxtrot-server/src/main/resources/console/echo/fql/index.htm

Path to vulnerable library: /foxtrot-server/src/main/resources/console/echo/js/handlebars-v1.3.0.js,/foxtrot-server/src/main/resources/console/echo/fql/../js/handlebars-v1.3.0.js,/foxtrot-server/src/main/resources/console/fql/../js/handlebars-v1.3.0.js,/foxtrot-server/src/main/resources/console/js/handlebars-v1.3.0.js,/foxtrot-server/src/main/resources/console/cluster/../js/handlebars-v1.3.0.js,/foxtrot-server/src/main/resources/console/echo/cluster/../js/handlebars-v1.3.0.js,/foxtrot-server/src/main/resources/console/js/handlebars-v1.3.0.js,/foxtrot-server/src/main/resources/console/echo/js/handlebars-v1.3.0.js

Dependency Hierarchy: - :x: **handlebars-1.3.0.js** (Vulnerable Library)

Found in HEAD commit: ffb8a6014463ce8aac1bf6e7dc9a23fc4a2a8adc

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/1316

Release Date: 2020-09-30

Fix Resolution: handlebars - 4.5.3

mend-for-github-com[bot] commented 1 year ago

: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.

mend-for-github-com[bot] commented 5 months ago

: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.

mend-for-github-com[bot] commented 5 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.