[Pkg-javascript-devel] Bug#1010359: node-ejs: CVE-2022-29078 server-side template injection

Neil Williams codehelp at debian.org
Fri Apr 29 14:25:06 BST 2022


Source: node-ejs
Version: 3.1.6-3
Severity: important
Tags: security
X-Debbugs-Cc: codehelp at debian.org, Debian Security Team <team at security.debian.org>

Hi,

The following vulnerability was published for node-ejs.

CVE-2022-29078[0]:
| 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).


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-29078
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29078

Please adjust the affected versions in the BTS as needed.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.17.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-javascript-devel mailing list