Prototype Pollution in handlebars.js - CVE-2021-23383

 

Prototype Pollution in handlebars.js - CVE-2021-23383

Published: May 10, 2021 / Updated: June 29, 2021


Vulnerability identifier: #VU53013
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2021-23383
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: The Handlebars Templating Language
Affected software:
handlebars.js

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when selecting certain compiling options to compile templates. A remote attacker can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2021-23383

Install update from vendor's website.

Sources