What’s Vulnerable › Vulnerabilities

CVE-2019-20922: Regular Expression Denial of Service in Handlebars

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.

Affected products

How to fix

Upgrade to a fixed version: handlebars-lang handlebars.js 4.4.5; Npm Handlebars 4.4.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-20922 or the next vulnerability affects your stack