← Back to CVEs
CVE-2022-29078
CRITICAL9.8
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).
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/25/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
ejs:ejs
Weaknesses (CWE)
CWE-94
References
https://github.com/mde/ejs/releases(cve@mitre.org)
https://security.netapp.com/advisory/ntap-20220804-0001/(cve@mitre.org)
https://eslam.io/posts/ejs-server-side-template-injection-rce/(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/mde/ejs/releases(af854a3a-2127-422b-91ae-364da2661108)
https://security.netapp.com/advisory/ntap-20220804-0001/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.