Skip to content

CVE-2017-1000228 ejs is vulnerable to remote code execution due to weak input validation

CriticalCVSS 9.8 EPSS 6.4%
Published
Updated
Exploit status
No public exploit known

Description

nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function

Affected products

ProductAffected versionsFixed in
npm ejs(npm) < 2.5.3 2.5.3
debian/node-ejs(Debian:12) < 2.5.7-1 2.5.7-1
debian/node-ejs(Debian:13) < 2.5.7-1 2.5.7-1
debian/node-ejs(Debian:14) < 2.5.7-1 2.5.7-1
ejs < 2.5.3 2.5.3
npm ejs(npm) < 2.5.5 2.5.5

References