Arbitrary Code Injection Affecting node-ejs package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
12.61% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEEJS-5497452
  • published5 May 2023
  • disclosed4 May 2023

Introduced: 4 May 2023

CVE-2023-29827  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable node-ejs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-ejs package and not the node-ejs package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

ejs v3.1.9 is vulnerable to server-side template injection. If the ejs file is controllable, template injection can be implemented through the configuration settings of the closeDelimiter parameter. NOTE: this is disputed by the vendor because the render function is not intended to be used with untrusted input.

CVSS Scores

version 3.1