Infinite loop in handlebars package for Node.js



| Updated: 2021-07-04
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-20922
CWE-ID CWE-835
Exploitation vector Network
Public exploit N/A
Vulnerable software
handlebars
Web applications / Modules and components for CMS

Vendor wycats

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Infinite loop

EUVDB-ID: #VU23982

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2019-20922

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop when processing specially-crafted templates. A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation

Update to version 4.4.5.

Vulnerable software versions

handlebars: 4.0.0 - 4.4.4

CPE2.3 External links

https://www.npmjs.com/advisories/1300


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###