CVEvulnerability
CVE-2019-20922
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-09-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 7.8 HIGH — AV:N/AC:L/Au:N/C:N/I:N/A:C
- Weaknesses
- CWE-400
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 configurations
• handlebarsjs handlebars (>= 4.0.0 < 4.4.5)
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388 Third Party Advisory
- https://www.npmjs.com/advisories/1300 Third Party Advisory
- https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388 Third Party Advisory
- https://www.npmjs.com/advisories/1300 Third Party Advisory