Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| alexpasmantier / television | affected 0.15.0 through 0.15.9 |
CWE
CWE-78
References
- 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
ADP enrichment
No English description supplied.
No references supplied.