CVE-2019-20922
Regular Expression Denial of Service in Handlebars
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2019-20922- CVSS 3.1
- 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
- 7.8 High
AV:N/AC:L/Au:N/C:N/I:N/A:C - Weakness
- CWE-400
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2019-20922- Updated
- 2026-11-02
EUVDEUVD-2022-0849 No score
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.
- Record
EUVD-2022-0849- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-62gr-4qp9-h98f
7.5
Regular Expression Denial of Service in Handlebars
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.
- Record
GHSA-62gr-4qp9-h98f- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2019-20922- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-62gr-4qp9-h98f
7.5
Regular Expression Denial of Service in Handlebars
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.
- Record
GHSA-62gr-4qp9-h98f- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVRHSA-2020:5179
8.1
Red Hat Security Advisory: Red Hat Virtualization security, bug fix, and enhancement update
- Record
RHSA-2020:5179- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-20922
7.5
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.
- Record
UBUNTU-CVE-2019-20922- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
handlebarsnpm |
4.0.0 up to 4.4.5 | 4.4.5 |
ovirt-web-uiRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:1.6.5-1.el8ev | 0:1.6.5-1.el8ev |
ovirt-engineRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-backendRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-dbscriptsRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-health-check-bundlerRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-restapiRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-setupRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-setup-baseRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-setup-plugin-cinderlibRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ovirt-engine-setup-plugin-imageioRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-setup-plugin-ovirt-engineRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-setup-plugin-ovirt-engine-commonRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-setup-plugin-vmconsole-proxy-helperRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-setup-plugin-websocket-proxyRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-toolsRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-tools-backupRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-vmconsole-proxy-helperRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-webadmin-portalRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
ovirt-engine-websocket-proxyRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
python3-ovirt-engine-libRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
rhvmRed Hat:rhev_manager:4.4:el8 From an advisory covering 3 CVEs |
before 0:4.4.3.8-0.1.el8ev | 0:4.4.3.8-0.1.el8ev |
node-handlebarsUbuntu:18.04:LTS |
All versions, plus listed versions 3:4.0.10-5 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-20922 is a high vulnerability (CVSS 7.5) in Handlebarsjs Handlebars, published September 30, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.69%, the 89th percentile. Fixed in handlebars 4.4.5.
References
npmjs.com/advisories/1300
snyk.io/vuln/SNYK-JS-HANDLEBARS-480388
github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b
nvd.nist.gov/vuln/detail/CVE-2019-20922
npmjs.com/package/handlebars
github.com/advisories/GHSA-62gr-4qp9-h98f
Show 60 moreShow less
access.redhat.com/errata/RHSA-2020:5179
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1613514
bugzilla.redhat.com/show_bug.cgi?id=1657294
bugzilla.redhat.com/show_bug.cgi?id=1691253
bugzilla.redhat.com/show_bug.cgi?id=1702016
bugzilla.redhat.com/show_bug.cgi?id=1752751
bugzilla.redhat.com/show_bug.cgi?id=1760170
bugzilla.redhat.com/show_bug.cgi?id=1797717
bugzilla.redhat.com/show_bug.cgi?id=1808320
bugzilla.redhat.com/show_bug.cgi?id=1811466
bugzilla.redhat.com/show_bug.cgi?id=1812316
bugzilla.redhat.com/show_bug.cgi?id=1822372
bugzilla.redhat.com/show_bug.cgi?id=1825020
bugzilla.redhat.com/show_bug.cgi?id=1828241
bugzilla.redhat.com/show_bug.cgi?id=1829691
bugzilla.redhat.com/show_bug.cgi?id=1842344
bugzilla.redhat.com/show_bug.cgi?id=1845432
bugzilla.redhat.com/show_bug.cgi?id=1851865
bugzilla.redhat.com/show_bug.cgi?id=1854888
bugzilla.redhat.com/show_bug.cgi?id=1855305
bugzilla.redhat.com/show_bug.cgi?id=1856671
bugzilla.redhat.com/show_bug.cgi?id=1857412
bugzilla.redhat.com/show_bug.cgi?id=1859314
bugzilla.redhat.com/show_bug.cgi?id=1862101
bugzilla.redhat.com/show_bug.cgi?id=1866981
bugzilla.redhat.com/show_bug.cgi?id=1870133
bugzilla.redhat.com/show_bug.cgi?id=1871694
bugzilla.redhat.com/show_bug.cgi?id=1872911
bugzilla.redhat.com/show_bug.cgi?id=1873136
bugzilla.redhat.com/show_bug.cgi?id=1876923
bugzilla.redhat.com/show_bug.cgi?id=1877632
bugzilla.redhat.com/show_bug.cgi?id=1877679
bugzilla.redhat.com/show_bug.cgi?id=1879199
bugzilla.redhat.com/show_bug.cgi?id=1879280
bugzilla.redhat.com/show_bug.cgi?id=1879377
bugzilla.redhat.com/show_bug.cgi?id=1881634
bugzilla.redhat.com/show_bug.cgi?id=1882256
bugzilla.redhat.com/show_bug.cgi?id=1882260
bugzilla.redhat.com/show_bug.cgi?id=1883844
bugzilla.redhat.com/show_bug.cgi?id=1884146
bugzilla.redhat.com/show_bug.cgi?id=1884634
bugzilla.redhat.com/show_bug.cgi?id=1885976
bugzilla.redhat.com/show_bug.cgi?id=1887268
bugzilla.redhat.com/show_bug.cgi?id=1888626
bugzilla.redhat.com/show_bug.cgi?id=1889522
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_5179.json
access.redhat.com/security/cve/CVE-2019-20920
cve.org/CVERecord?id=CVE-2019-20920
nvd.nist.gov/vuln/detail/CVE-2019-20920
npmjs.com/advisories/1316
npmjs.com/advisories/1324
access.redhat.com/security/cve/CVE-2019-20922
cve.org/CVERecord?id=CVE-2019-20922
access.redhat.com/security/cve/CVE-2020-8203
cve.org/CVERecord?id=CVE-2020-8203
nvd.nist.gov/vuln/detail/CVE-2020-8203
hackerone.com/reports/712065
npmjs.com/advisories/1523
ubuntu.com/security/CVE-2019-20922