Red Hat VEX
RHVEX-CVE-2022-29078
ejs: server-side template injection in outputFunctionName
Details
A Command injection attack was found in ejs (Embedded JavaScript templates) for Node.js, which allows an attacker to execute server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option and overwrites the outputFunctionName option with an arbitrary OS command executed upon template compilation.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | pcs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | pcs-snmp | All versions, will not be fixed |