Description
electerm before 5.3.15 exposes 40+ main-process functions through an unvalidated Electron IPC handler with no function-name allowlist or sender validation. Renderer-side script execution can invoke openFileWithEditor and other functions with arbitrary arguments to execute system commands in the main process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| electerm | electerm | < 5.3.15 | 5.3.15 |
References
- GitHub Security Advisory (GHSA-qc8j-6jr2-qr32) vendor-advisory
- Reporter Disclosure Issue issue-tracking
- Patch Commit patch
- electerm v5.3.15 Release Notes release-notes
- ipcMain.handle('async') dispatches asyncGlobals[name] with no allowlist, v5.3.5 technical-description
- https://github.com/electerm/electerm product
- VulnCheck Advisory: electerm before 5.3.15 Arbitrary Command Execution via Unvalidated runGlobalAsync IPC Bridge third-party-advisory