CVE-2019-20922

nodejs-handlebars: an endless loop while processing specially-crafted templates leads to DoS

Published Sep 30, 2020 CVSS 3.1 · 7.5 High EPSS 3.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0849 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.
Github GHSA Github GHSA GHSA-62gr-4qp9-h98f Regular Expression Denial of Service in Handlebars
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 3:00 AM
Reserved
Sep 30, 2020, 12:00 AM
Status
Modified
Published
Sep 30, 2020, 6:15 PM
Modified
Jun 17, 2026, 2:31 AM
Severity
Moderate
Public date
Nov 4, 2019, 12:00 AM