Description
An issue was discovered in Thunar before 4.16.7 and 4.17.x before 4.17.2. When called with a regular file as a command-line argument, it delegates to a different program (based on the file type) without user confirmation. This could be used to achieve code execution.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | thunar | 4.16.8-1 | — |
| Debian 13 | thunar | 4.16.8-1 | — |
| Debian 12 | thunar | 4.16.8-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | thunar | No fix yet | — |
| Ubuntu 18.04 LTS | thunar | No fix yet | — |
| Ubuntu 16.04 LTS | thunar | No fix yet | — |
References
- https://gitlab.xfce.org/xfce/thunar/-/commit/9165a61f95e43cc0b5abf9b98eee2818a0191e0b
- https://gitlab.xfce.org/xfce/thunar/-/commit/3b54d9d7dbd7fd16235e2141c43a7f18718f5664
- https://www.openwall.com/lists/oss-security/2021/05/09/2
- https://gitlab.xfce.org/xfce/thunar/-/tags
- [oss-security] 20210511 Re: Code execution through Thunar mailing-list
- https://gitlab.xfce.org/xfce/thunar/-/commit/1b85b96ebf7cb9bf6a3ddf1acee7643643fdf92d
- [oss-security] 20230104 Code execution through MIME-type association of Mono interpreter and security expectations of MIME type associations mailing-list
- [oss-security] 20230105 Re: Code execution through MIME-type association of Mono interpreter and security expectations of MIME type associations mailing-list