CVE-2013-4419
libguestfs: insecure temporary directory handling for guestfish's network socket
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · October 17, 2013
Updated · November 21, 2025
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 6.8AV:A/AC:H/Au:N/C:C/I:C/A:C
CWE-377 · Insecure Temporary File