GHSA-62gr-4qp9-h98f

Regular Expression Denial of Service in Handlebars

At a glance

Published
Updated
CVE
CVE-2019-20922
Aliases
SNYK-JS-HANDLEBARS-480388
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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 packages

PackageVersions
npm · handlebarsintroduced 4.0.0, fixed 4.4.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database