Vulnérabilités / CVE-2022-29078

critique

CVE-2022-29078

ejs: server-side template injection in outputFunctionName

Publiée Modifiée CWE 94
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA. Plus basse selon Red Hat (élevée).

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

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
npm::GitHub Security Advisory npmejs3.1.7
debian 10node-ejs2.5.7-1+deb10u1
debian 11node-ejs2.5.7-3+deb11u1
debian 12node-ejs3.1.7-1
debian 13node-ejs3.1.7-1
debian 14node-ejs3.1.7-1
debian 9node-ejspas de correctif indiqué
echonode-ejs3.1.7-1
Red Hatpcs, pcs-snmppas de correctif indiqué
Afficher les 10 entrées de 9 sources
SourcePaquetCorrigé en
npm::GitHub Security Advisory npmejs3.1.7
debian 10node-ejs2.5.7-1+deb10u1
debian 11node-ejs2.5.7-3+deb11u1
debian 12node-ejs3.1.7-1
debian 13node-ejs3.1.7-1
debian 14node-ejs3.1.7-1
debian 9node-ejspas de correctif indiqué
echonode-ejs3.1.7-1
Red Hatpcspas de correctif indiqué
Red Hatpcs-snmppas de correctif indiqué

Références

Les 10 références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.