Advisory

GHSA-3w5v-p54c-f74x

Also known as: CVE-2017-1000228

Summary

ejs is vulnerable to remote code execution due to weak input validation

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2017-11-30 23:15 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

ejs

npm · All systems

Affected

  • introduced 0, fixed 2.5.5 (semver)

Fixed versions

2.5.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences