CVE-2022-29078

Scores

EPSS

0.935high93.5%
0%20%40%60%80%100%

Percentile: 93.5%

CVSS

9.8critical3.x
0246810

CVSS Score: 9.8/10

All CVSS Scores

CVSS 3.x
9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0
7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

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).

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvdubuntu

CWEs

CWE-74CWE-94

Related Vulnerabilities

Exploits

Exploit ID: CVE-2022-29078

Source: github-poc

URL: https://github.com/chuckdu21/CVE-2022-29078

Vulnerable Software (15)

Type: Configuration

Product: node-ejs

Operating System: ubuntu bionic 18.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu focal 20.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu impish 21.10

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu kinetic 22.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu lunar 23.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu mantic 23.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu noble 24.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu oracular 24.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu plucky 25.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: ubuntu questing 25.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: node-ejs

Operating System: debian

Trait:
{  "fixed": "3.1.7-1"}

Source: debian

Type: Configuration

Product: node-ejs

Operating System: debian bullseye 11

Trait:
{  "fixed": "2.5.7-3+deb11u1"}

Source: debian

Type: Configuration

Product: node-ejs

Operating System: debian buster 10

Trait:
{  "fixed": "2.5.7-1+deb10u1"}

Source: debian

Type: Configuration

Product: node-ejs

Operating System: debian stretch 9

Trait:
{  "unfixed": true}

Source: debian

Type: Configuration

Vendor: *

Product: ejs

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:ejs:ejs:3.1.6:*:*:*:*:node.js:*:*",      "vulnerable": true    }  ],  "operator": "OR"}

Source: nvd

End of list