VDB
Sign up
HIGH7.5

GHSA-62gr-4qp9-h98f

Regular Expression Denial of Service in Handlebars

Quick fix

GHSA-62gr-4qp9-h98f — handlebars: upgrade to the fixed version with the command below.

npm install handlebars@4.4.5

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/handlebars
Introduced in: 4.0.0Fixed in: 4.4.5
Fixnpm install handlebars@4.4.5

References