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.
References
| Link | Resource |
|---|---|
| https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b | Patch Third Party Advisory |
| https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388 | Third Party Advisory |
| https://www.npmjs.com/advisories/1300 | Third Party Advisory |
Configurations
Information
Published : 2020-09-30 18:15
Updated : 2021-07-21 11:39
NVD link : CVE-2019-20922
Mitre link : CVE-2019-20922
JSON object : View
Products Affected
handlebarsjs
- handlebars
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
