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.
Recommendation
Update the handlebars package to the latest compatible version. Followings are version details:
- Affected version(s): >= 4.0.0, < 4.4.5
- Patched version(s): 4.4.5
References
Related Issues
- Regular Expression Denial of Service (ReDoS) in lodash - lodash - CVE-2019-1010266
- Regular Expression Denial of Service (ReDoS) in lodash - lodash-es - GHSA-x5rq-j2xg-h7qm - CVE-2019-1010266
- Regular Expression Denial of Service (ReDoS) in lodash - lodash-amd - CVE-2019-1010266
- Regular Expression Denial of Service in remarkable - CVE-2019-12041
You might also like:
- Tags:
- npm
- handlebars
Anything's wrong? Let us know Last updated on November 29, 2023


