CVE-2019-20922
HIGHCVSS 7.5/10EPSS 3.79%
Last modified
CVE-2019-20922 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.79% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Handlebarsjs | Handlebars | >= 4.0.0, < 4.4.5 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-20922?
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.
How severe is CVE-2019-20922?
CVE-2019-20922 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.79% probability of exploitation in the next 30 days.
How do I fix CVE-2019-20922?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2019-20922?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
