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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory
- github.com patch third-party-advisory
- snyk.io third-party-advisory
- www.npmjs.com third-party-advisory
- www.npmjs.com
- github.com
- Debian Security Tracker CVE-2019-20922 vendor-advisory