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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.99%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.99% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- eta.js/eta
- Source
- report@snyk.io
References
- https://github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/compile-string.ts%23L21Broken Link
- https://github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/file-handlers.ts%23L182Broken Link
- https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138ddPatch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-ETA-2936803Third Party Advisory
- https://github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/compile-string.ts%23L21Broken Link
- https://github.com/eta-dev/eta/blob/9c8e4263d3a559444a3881a85c1607bf344d0b28/src/file-handlers.ts%23L182Broken Link
- https://github.com/eta-dev/eta/commit/5651392462ee0ff19d77c8481081a99e5b9138ddPatch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-ETA-2936803Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-ETA-2936803Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.