RCE in Eta.js Eta
CVE-2022-25967
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.021, 81.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Eta.js Eta
- Eta — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (sibivasanM/Node_RCE_lab). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-JS-ETA-2936803 (Third Party Advisory)
- github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/file-h… (Broken Link)
- github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/compil… (Broken Link)
- github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138dd (Patch, Third Party Advisory)