Vulnerability Details : CVE-2019-20922
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.
Vulnerability category: Denial of service
Products affected by CVE-2019-20922
- cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-20922
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 56 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-20922
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | AV:N/AC:L/Au:N/C:N/I:N/A:C |
10.0
|
6.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2019-20922
-
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-20922
-
https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388
Denial of Service (DoS) in handlebars | SnykThird Party Advisory
-
https://www.npmjs.com/advisories/1300
npmThird Party Advisory
-
https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b
fix: non-eager matching raw-block-contents · handlebars-lang/handlebars.js@8d5530e · GitHubPatch;Third Party Advisory
Jump to