Description
Television (tv) 0.15.0 through 0.15.9 contains an OS command injection vulnerability that allows attackers to run shell commands through improperly escaped single quotes in format_command. Attackers can plant a file with a crafted name containing an apostrophe so that triggering an action like the default edit action executes commands with victim privileges.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
alexpasmantier television
Default version status: unaffected
0.15.0 to ≤ 0.15.9affected
pkg:cargo/televisionReferences
- https://github.com/alexpasmantier/television/issues/1166 ↗
- https://github.com/alexpasmantier/television/commit/d7d46abb791181a3b5b6eed05e72aafcaa0ef269 ↗
- https://github.com/alexpasmantier/television/commit/32695ccc6cd2b05cf7f1d3b80c24e324d5343eec ↗
- https://github.com/alexpasmantier/television/blob/0.15.9/television/utils/command.rs ↗
- https://github.com/alexpasmantier/television/blob/0.15.9/cable/unix/files.toml ↗
- https://www.vulncheck.com/advisories/television-0.15.0-through-0.15.9-os-command-injection-via-external-action-formatting ↗