GHSA-mf6x-hrgr-658f

Suggest an improvement
Source
https://github.com/advisories/GHSA-mf6x-hrgr-658f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-mf6x-hrgr-658f/GHSA-mf6x-hrgr-658f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mf6x-hrgr-658f
Aliases
Published
2023-01-30T06:30:27Z
Modified
2023-11-08T04:08:52.941788Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2023-01-30T05:15:00Z",
    "github_reviewed_at": "2023-02-01T01:34:42Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

npm / eta

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0