Public Date:
1016960: CVE-2013-4419 libguestfs: insecure temporary directory handling for guestfish's network socket

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2013-4419 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 6.8
Base Metrics AV:A/AC:H/Au:N/C:C/I:C/A:C
Access Vector Adjacent Network
Access Complexity High
Authentication None
Confidentiality Impact Complete
Integrity Impact Complete
Availability Impact Complete

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux version 6 (libguestfs) RHSA-2013:1536 2013-11-20

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 7 libguestfs Not affected


This issue was discovered by Michael Scherer of the Red Hat Regional IT team.