Path to dependency file: /server/build/resources/main/swagger-ui/index.html
Path to vulnerable library: /d/resources/main/swagger-ui/lib/handlebars-4.0.5.js,/server/src/main/resources/swagger-ui/lib/handlebars-4.0.5.js,/main/resources/swagger-ui/lib/handlebars-4.0.5.js,/server/build/resources/main/swagger-ui/lib/handlebars-4.0.5.js
Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.
Mend Note: Converted from WS-2019-0491, on 2022-11-08.
CVE-2019-20922 - High Severity Vulnerability
Vulnerable Library - handlebars-4.0.5.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/4.0.5/handlebars.js
Path to dependency file: /server/build/resources/main/swagger-ui/index.html
Path to vulnerable library: /d/resources/main/swagger-ui/lib/handlebars-4.0.5.js,/server/src/main/resources/swagger-ui/lib/handlebars-4.0.5.js,/main/resources/swagger-ui/lib/handlebars-4.0.5.js,/server/build/resources/main/swagger-ui/lib/handlebars-4.0.5.js
Dependency Hierarchy: - :x: **handlebars-4.0.5.js** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources. Mend Note: Converted from WS-2019-0491, on 2022-11-08.
Publish Date: 2020-09-30
URL: CVE-2019-20922
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.npmjs.com/advisories/1300
Release Date: 2020-09-30
Fix Resolution: handlebars - 4.4.5
Step up your Open Source Security Game with Mend here