🛡️ CVE-2022-29078 on Debian — node-ejs
Description
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).
Distribution advisory
This page covers CVE-2022-29078 as tracked by Debian, for the package node-ejs. The fix is available in version 3.1.7-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Affected software
DEBIAN-CVE-2022-29078 is recorded against 1 package.
- node-ejs (fixed in 3.1.7-1)
Timeline and source
Published on 25 April 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-29078 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| node-ejs | — | 3.1.7-1 |
References
Similar Threats
- Unknown DEBIAN-CVE-2024-33883
- Unknown UBUNTU-CVE-2024-33883
- Unknown DEBIAN-CVE-2023-29827
- Unknown UBUNTU-CVE-2023-29827
- Unknown UBUNTU-CVE-2022-29078
More DEBIAN CVE 2022 advisories
Browse all of DEBIAN CVE 2022 in the advisory index.
- DEBIAN-CVE-2022-28923
- DEBIAN-CVE-2022-28948
- DEBIAN-CVE-2022-28959
- DEBIAN-CVE-2022-28960
- DEBIAN-CVE-2022-28961
- DEBIAN-CVE-2022-29021
- DEBIAN-CVE-2022-29022
- DEBIAN-CVE-2022-29023
- DEBIAN-CVE-2022-29153
- DEBIAN-CVE-2022-29154
- DEBIAN-CVE-2022-29155
- DEBIAN-CVE-2022-29156
- DEBIAN-CVE-2022-29162
- DEBIAN-CVE-2022-29167
- DEBIAN-CVE-2022-29181
- DEBIAN-CVE-2022-29187
Exploit Protection
Are you running node-ejs?
DEBIAN-CVE-2022-29078 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For DEBIAN-CVE-2022-29078 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.