ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-23383

nodejs-handlebars: Remote code execution when compiling untrusted compile templates with compat:true option

Moderate No fix available CVE-2021-23383

Details

A flaw was found in nodejs-handlebars. A unescaped value in the JavaScriptCompiler.prototype.depthedLookup function allows an attacker, who can provide untrusted handlebars templates, to execute arbitrary code in the javascript system (e.g. browser or server) when the template is compiled with the compat:true option. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6pcs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7pcs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7pcs-snmp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-clufter
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8pcs
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8pcs-snmp
All versions, no fix (fix deferred)

References