Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2022-29078

Published: 25 April 2022

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

Priority

Medium

Cvss 3 Severity Score

9.8

Score breakdown

Status

Package Release Status
node-ejs
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Needs triage

impish Ignored
(end of life)
jammy Needs triage

kinetic Not vulnerable
(3.1.8+~3.1.1-1)
lunar Not vulnerable
(3.1.8+~3.1.1-1)
mantic Not vulnerable
(3.1.8+~3.1.1-1)
trusty Does not exist

upstream
Released (3.1.7, 3.1.7-1)
xenial Does not exist

Patches:
upstream: https://github.com/mde/ejs/commit/15ee698583c98dadc456639d6245580d17a24baf

Severity score breakdown

Parameter Value
Base score 9.8
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H