Improper Input Validation Affecting node-ejs package, versions <2.5.7-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
6.38% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEEJS-2806257
  • published30 Apr 2022
  • disclosed17 Nov 2017

Introduced: 17 Nov 2017

CVE-2017-1000228  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-ejs to version 2.5.7-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-ejs package and not the node-ejs package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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