Description
Elio through 1.13.0 contains an insecure temporary file vulnerability that allows local users to overwrite another user's files by pre-creating symbolic links at predictable capture paths. Attackers who know the victim's Elio process ID can plant a symlink so previewing media, fonts or archives truncates and overwrites victim-owned files.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| elio-fm | elio | ≤ 1.13.0 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/r1d_wQojfg third-party-advisory
- https://github.com/elio-fm/elio/blob/e7daae44ce748310de441499576bdc31b936d54c/src/preview/external_commands.rs#L14-L47 technical-description
- https://github.com/elio-fm/elio/blob/e7daae44ce748310de441499576bdc31b936d54c/src/preview/external_commands.rs#L92-L95 technical-description
- https://github.com/elio-fm/elio/blob/e7daae44ce748310de441499576bdc31b936d54c/src/preview/archives/external_tools.rs#L30-L45 technical-description
- v1.13.0 Release Notes release-notes
- VulnCheck Advisory: Elio through 1.13.0 Insecure Temporary File Creation in External Preview Command Capture third-party-advisory