CVE-2022-29078
ejs template injection vulnerability
9.8
CRITICAL
CVSS 3.1
EPSS 32.4%
描述
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).
如何修補 CVE-2022-29078
要修補 CVE-2022-29078,請將受影響套件升級到下列已修補版本。
- —升級至 2.5.7-3+deb11u1 或更新版本
- —升級至 3.1.7 或更新版本
CVE-2022-29078 正在被利用嗎?
中等 — EPSS 為 32.4%,可持續追蹤但非最高優先。
受影響套件(2)
- from 0, < 2.5.7-3+deb11u1
- from 0, < 3.1.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |