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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-20917An issue was discovered in InspIRCd 2 before 2.0.28 and 3 be…6.5
- CVE-2019-20918An issue was discovered in InspIRCd 3 before 3.1.0. The sile…6.5
- CVE-2019-20919An issue was discovered in the DBI module before 1.643 for P…4.7
- CVE-2019-2092In isSeparateProfileChallengeAllowed of DevicePolicyManagerS…
- CVE-2019-20920Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable t…8.1
- CVE-2019-20921bootstrap-select before 1.13.6 allows Cross-Site Scripting (…6.1
- CVE-2019-20923A user authorized to perform database queries may trigger de…6.5
- CVE-2019-20924A user authorized to perform database queries may trigger de…6.5
- CVE-2019-20925An unauthenticated client can trigger denial of service by i…7.5
- CVE-2019-2093In huff_dec_1D of nlc_dec.cpp, there is a possible out of bo…
- CVE-2019-20933InfluxDB before 1.7.6 has an authentication bypass vulnerabi…9.8
- CVE-2019-20934An issue was discovered in the Linux kernel before 5.2.6. On…5.3
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
