CVE-2017-1000228
critical
CVSS v3
9.8
CVSS v4 NEW
โ
VIR risk
9.8
Description
nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function
Predictions
Exploit likelihood
97%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.5.7-1 |
| sid | Fixed | 2.5.7-1 |
| forky | Fixed | 2.5.7-1 |
| bullseye | Fixed | 2.5.7-1 |
| bookworm | Fixed | 2.5.7-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | ejs | <2.5.5 | 2.5.5 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ejs | ejs | {"endExcluding":"2.5.3"} | 2.5.3 |
References
- http://www.securityfocus.com/bid/101897
- https://snyk.io/vuln/npm:ejs:20161128
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000228
- https://github.com/advisories/GHSA-3w5v-p54c-f74x
- https://web.archive.org/web/20171123041219/http://www.securityfocus.com/bid/101897
- https://security-tracker.debian.org/tracker/CVE-2017-1000228
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.