Advisory

GHSA-mf6x-hrgr-658f

Also known as: CVE-2022-25967

Summary

Eta vulnerable to Code Injection via templates rendered with user-defined data

Details

Versions of the package eta before 2.0.0 are vulnerable to Remote Code Execution (RCE) by overwriting template engine configuration variables with view options received from The Express render API. Note: This is exploitable only for users who are rendering templates with user-defined data.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-01-30 06:30 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

eta

npm · All systems

Affected

  • introduced 0, fixed 2.0.0 (semver)

Fixed versions

2.0.0

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