Name | CVE-2019-20922 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libjs-handlebars (PTS) | jessie | 1.3.0-1 | fixed |
| stretch | 3:4.0.5-4 | fixed |
node-handlebars (PTS) | buster | 3:4.1.0-1+deb10u3 | fixed |
| bullseye | 3:4.7.6+~4.1.0-2 | fixed |
| sid, trixie, bookworm | 3:4.7.7+~4.1.0-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
- node-handlebars <not-affected> (Introduced in 4.4.4 and fixed in 4.4.5, no vulnerable version uploaded)
- libjs-handlebars <not-affected> (Introduced in 4.4.4 and fixed in 4.4.5, no vulnerable version uploaded)
https://github.com/handlebars-lang/handlebars.js/issues/1579
https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b
https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388
https://www.npmjs.com/advisories/1300