GitHub Advisoryadvisory · npm
GHSA-f52g-6jhx-586p Denial of Service in handlebars
MEDIUM
Official page ↗
- Ecosystem
- npm
- Packages
- handlebars
- Severity
- Moderate
- Weaknesses
- CWE-400
- Reviewed
- 2020-08-31
Affected packages
• npm handlebars: >= 4.0.0, < 4.4.5 → fixed in 4.4.5
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.
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness