CVE-2022-29078

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).
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
VendorProductVersion
ejsejs
3.1.6
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-ejs
bullseye
2.5.7-3+deb11u1
fixed
bookworm
3.1.8+~3.1.1-2
fixed
sid
3.1.10+~3.1.5-2
fixed
trixie
3.1.10+~3.1.5-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-ejs
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
needs-triage
impish
ignored
focal
needs-triage
bionic
needs-triage
xenial
dne
trusty
dne