What’s Vulnerable › Vulnerabilities
GHSA-f52g-6jhx-586p: Denial of Service in handlebars
- Severity: medium (CVSS 5.5)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2020-09-03 · updated 2020-08-31
- Weakness: CWE-400
Description
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. ## Recommendation Upgrade to version 4.4.5 or later.
Affected products
- Npm Handlebars: from 4.0.0 before 4.4.5 — fixed in 4.4.5
How to fix
Upgrade to a fixed version: Npm Handlebars 4.4.5. Check the vendor advisory for mitigations.
References
Get alerted when GHSA-f52g-6jhx-586p or the next vulnerability affects your stack