VulnerabilityModified
CVE-2019-20922
Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching.
HIGH 7.5EPSS 3.79%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.79%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 3.79% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400
- Affected
- handlebarsjs/handlebars
- Source
- cve@mitre.org
References
- https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8bPatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388Third Party Advisory
- https://www.npmjs.com/advisories/1300Third Party Advisory
- https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8bPatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388Third Party Advisory
- https://www.npmjs.com/advisories/1300Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.