CVE-2019-20922: High severity Handlebarsjs Handlebars Node.js vulnerability

Published Nov 4, 2019
·
Updated

A flaw was found in nodejs-handlebars, where affected versions of handlebars are vulnerable to a denial of service. The package's parser may be forced into an endless loop while processing specially-crafted templates. This flaw allows attackers to exhaust system resources, leading to a denial of service.

Other sources

Affected versions of handlebars are vulnerable to Denial of Service. The package's parser may be forced into an endless loop while processing specially-crafted templates. This may allow attackers to exhaust system resources leading to Denial of Service.

Reference:

https://www.npmjs.com/advisories/1300

Red Hat

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 Software

4 affected componentsFixes available
redhat/ovirt-web-ui<0:1.6.5-1.el8e
0:1.6.5-1.el8e
npm/handlebars>=4.0.0<4.4.5
4.4.5
redhat/nodejs-handlebars<4.4.5
4.4.5
Handlebarsjs Handlebars Node.js>=4.0.0<4.4.5

Event History

Nov 4, 2019
CVE Published
12:00 AM
Sep 24, 2020
Data Sourced
via Red Hat·07:58 AM
DescriptionSeverityAffected Software
Sep 30, 2020
CVE Published
via MITRE·12:30 PM
Data Sourced
via MITRE·12:30 PM
Description
Feb 10, 2022
Advisory Published
08:38 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-20922?

CVE-2019-20922 is a vulnerability that allows Regular Expression Denial of Service (ReDoS) in Handlebars before version 4.4.5.

2

What is the severity of CVE-2019-20922?

CVE-2019-20922 has a severity rating of high, with a severity value of 7.

3

How does CVE-2019-20922 affect Handlebars?

CVE-2019-20922 affects Handlebars versions before 4.4.5 and can cause a denial of service by forcing the package's parser into an endless loop while processing specially-crafted templates.

4

How can I fix CVE-2019-20922 in Handlebars?

To fix CVE-2019-20922 in Handlebars, update to version 4.4.5 or later.

5

Where can I find more information about CVE-2019-20922?

You can find more information about CVE-2019-20922 at the following references: [CVE-2019-20922](https://www.cve.org/CVERecord?id=CVE-2019-20922), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-20922), [npmjs](https://www.npmjs.com/advisories/1300), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1882256), [Red Hat Advisory RHSA-2021:2500](https://access.redhat.com/errata/RHSA-2021:2500).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203