Description
nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in the ejs.renderFile()
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-ejs | 2.5.7-1 | — |
| Debian 13 | node-ejs | 2.5.7-1 | — |
| Debian 12 | node-ejs | 2.5.7-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | ejs | < 2.5.5 | 2.5.5 | GHSA-6x77-rpqf-j6mw |