Description
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.
Remediation
References
https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b
https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388
https://www.npmjs.com/advisories/1300
Related Vulnerabilities
CVE-2020-7709 Vulnerability in npm package json-pointer
CVE-2021-31403 Vulnerability in maven package com.vaadin:vaadin-server
CVE-2023-45811 Vulnerability in npm package deobfuscator
CVE-2016-0779 Vulnerability in maven package org.apache.tomee:openejb-core
CVE-2020-36182 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind