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.
The product does not properly control the allocation and maintenance of a limited resource.
Link | Tags |
---|---|
https://www.npmjs.com/advisories/1300 | third party advisory |
https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388 | third party advisory |
https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b | third party advisory patch |