Skip to content

CVE-2013-4419 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 s...

MediumCVSS 6.8 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/libguestfs(Debian:12) < 1:1.22.7-1 1:1.22.7-1
debian/libguestfs(Debian:13) < 1:1.22.7-1 1:1.22.7-1
debian/libguestfs(Debian:14) < 1:1.22.7-1 1:1.22.7-1
libguestfs >= 1.20.0, <= 1.20.12 No fix listed
libguestfs >= 1.22.0, <= 1.22.7 No fix listed
suse linux enterprise software development kit = 11.0-sp3 No fix listed
novell suse linux enterprise server = 11.0-sp3 No fix listed
ubuntu/libguestfs(Ubuntu:24.04) All versions No fix listed
ubuntu/libguestfs(Ubuntu:26.04) All versions No fix listed
ubuntu/libguestfs(Ubuntu:26.10) All versions No fix listed
ubuntu/libguestfs(Ubuntu:22.04) All versions No fix listed

References