Skip to content
Fencer Intel
medium 6.8

CVE-2013-4419 json

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 o…

published 13y ago modified 4mo ago also EUVD-2013-4296

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 55%
public exploits
0
none known

Summary

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.

Patch / fix

  • libguestfs Debian 14, Debian 13, Debian 12 1:1.22.7-1

debian advisories DEBIAN-CVE-2013-4419

  • libguestfs RHEL 6 1:1.20.11-2.el6
  • libguestfs-java RHEL 6 1:1.20.11-2.el6
  • ruby-libguestfs RHEL 6 1:1.20.11-2.el6
  • libguestfs-tools RHEL 6 1:1.20.11-2.el6
  • ocaml-libguestfs RHEL 6 1:1.20.11-2.el6
  • perl-Sys-Guestfs RHEL 6 1:1.20.11-2.el6
  • python-libguestfs RHEL 6 1:1.20.11-2.el6
  • libguestfs-javadoc RHEL 6 1:1.20.11-2.el6

red hat advisories RHSA-2013:1536

  • libguestfs openSUSE Tumbleweed 1.32.4-11.1

opensuse advisories openSUSE-SU-2024:10032-1

Is CVE-2013-4419 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-4419 updated cvss 6.8

libguestfs: insecure temporary directory handling for guestfish's network socket

  • Red Hat Enterprise Linux Desktop (v. 6) libguestfs 1.20.11-2.el6, libguestfs-java 1.20.11-2.el6, libguestfs-tools 1.20.11-2.el6, perl-Sys-Guestfs 1.20.11-2.el6, python-libguestfs 1.20.11-2.el6, libguestfs-tools-c 1.20.11-2.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) libguestfs 1.20.11-2.el6, ruby-libguestfs 1.20.11-2.el6, ocaml-libguestfs 1.20.11-2.el6, libguestfs-javadoc 1.20.11-2.el6 Red Hat Enterprise Linux HPC Node (v. 6) libguestfs 1.20.11-2.el6, libguestfs-java 1.20.11-2.el6, libguestfs-tools 1.20.11-2.el6, perl-Sys-Guestfs 1.20.11-2.el6, python-libguestfs 1.20.11-2.el6, libguestfs-tools-c 1.20.11-2.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) libguestfs 1.20.11-2.el6, ruby-libguestfs 1.20.11-2.el6, ocaml-libguestfs 1.20.11-2.el6, libguestfs-javadoc 1.20.11-2.el6 Red Hat Enterprise Linux Server (v. 6) libguestfs 1.20.11-2.el6, libguestfs-java 1.20.11-2.el6, libguestfs-tools 1.20.11-2.el6, perl-Sys-Guestfs 1.20.11-2.el6, python-libguestfs 1.20.11-2.el6, libguestfs-tools-c 1.20.11-2.el6 Red Hat Enterprise Linux Server Optional (v. 6) libguestfs 1.20.11-2.el6, ruby-libguestfs 1.20.11-2.el6, ocaml-libguestfs 1.20.11-2.el6, libguestfs-javadoc 1.20.11-2.el6
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) libguestfs 1.20.11-2.el6, libguestfs-java 1.20.11-2.el6, libguestfs-tools 1.20.11-2.el6, perl-Sys-Guestfs 1.20.11-2.el6, python-libguestfs 1.20.11-2.el6, libguestfs-tools-c 1.20.11-2.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) libguestfs 1.20.11-2.el6, ruby-libguestfs 1.20.11-2.el6, ocaml-libguestfs 1.20.11-2.el6, libguestfs-javadoc 1.20.11-2.el6
    fixed: vendor fix RHSA-2013:1536
  • Red Hat Enterprise Linux 7 virt-dib, virt-v2v, libguestfs, lua-guestfs, libguestfs-xfs, libguestfs-gfs2, +15 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:A/AC:H/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.