Skip to content
OpenAdvisories
High · 7.5 CVE-2019-20922 EUVD-2022-0849GHSA-62gr-4qp9-h98fSNYK-JS-HANDLEBARS-480388

Regular Expression Denial of Service in Handlebars

Published Sep 30, 2020 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-handlebars No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Rhev Manager 4 ovirt-web-ui 1.6.5-1.el8ev RHSA-2020:5179
Red Hat Rhev Manager 4 rhvm +19 4.4.3.8-0.1.el8ev RHSA-2020:5179

Affected packages

EcosystemPackageAffectedFixedRecord
npm handlebars >= 4.0.0, < 4.4.5 4.4.5 GHSA-62gr-4qp9-h98f

Advisories 1

References