CVE-2017-1000189 json
ejs vulnerable to DoS due to weak input validation
published 8y ago modified 4mo ago also GHSA-6x77-rpqf-j6mw , EUVD-2018-0173
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in the ejs.renderFile()
Patch / fix
- npm ejs 2.5.5
- ejs ejs 2.5.5
- node-ejs Debian 14, Debian 13, Debian 12 2.5.7-1
debian advisories DEBIAN-CVE-2017-1000189
- github.com/mde/ejs@49264e0 commit
Is CVE-2017-1000189 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000189 updated cvss 4.7
nodejs-ejs: Denial of Service via renderFile() by overriding localNames
-
Red Hat Mobile Application Platform 4 fh-ngui, fh-appstorenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.27% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | ejs | <2.5.5 |
2.5.5 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f
web, patch, third-party-advisory
-
securityfocus.com
/bid/101893
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-1000189
advisory
-
github.com
/advisories/GHSA-6x77-rpqf-j6mw
advisory
-
github.com
/mde/ejs
package
-
web.archive.org
/web/20171123041449/http://www.securityfocus.com/bid/101893
web
Sources
- CVE List CVE-2017-1000189
- GitHub Advisory GHSA-6x77-rpqf-j6mw
- NVD CVE-2017-1000189
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.