HighGHSA-6x77-rpqf-j6mwCVE-2017-1000189

ejs vulnerable to DoS due to weak input validation

Published 5 Mar 2018 · Updated 8 Nov 2023

Affected package

ejsnpm
Affected
<2.5.5
Fixed in
2.5.5
Update to the fixed version for your release line, for example:npm install ejs@2.5.5

Details

nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in ejs.renderFile()

Is GHSA-6x77-rpqf-j6mw in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ejs, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.