Ojuju Advisory
DEBIAN-CVE-2022-29078 Also known as: CVE-2022-29078
Summary The record has no summary.
Details The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows 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 (which is executed upon template compilation).
Severity Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Dates Published 2022-04-25 15:15 UTC Modified 2026-11-18 06:03 UTC
Affected packages and fixes node-ejs
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 3.1.7-1 (ecosystem)
Fixed versions 3.1.7-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
node-ejs
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 3.1.7-1 (ecosystem)
Fixed versions 3.1.7-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
node-ejs
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 3.1.7-1 (ecosystem)
Fixed versions 3.1.7-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →