Skip to content

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

HighCVSS 7.5 EPSS 3.7%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
npm handlebars(npm) >= 4.0.0, < 4.4.5 4.4.5
handlebarsjs handlebars >= 4.0.0, < 4.4.5 4.4.5

References