The guestfish command in libguestfs 1.20.12, 1.22.7, and earlier, when using the --remote or --listen option, does not properly check the ownership of /tmp/.guestfish-$UID/ when creating a temporary socket file in this directory, which allows local users to write to the socket and execute arbitrary commands by creating /tmp/.guestfish-$UID/ in advance.
| Software | From | Fixed in |
|---|---|---|
| libguestfs / libguestfs | 1.20.0 | 1.20.12.x |
| libguestfs / libguestfs | 1.22.0 | 1.22.7.x |
| suse / suse_linux_enterprise_software_development_kit | 11.0-sp3 | 11.0-sp3.x |
| novell / suse_linux_enterprise_server | 11.0-sp3 | 11.0-sp3.x |