CVE-2013-4419: Medium severity red hat libguestfs vulnerability

Published Oct 9, 2013
·
Updated

libguestfs is a library for accessing and modifying guest disk images. It was found that guestfish, which enables shell scripting and command line access to libguestfs, insecurely created the temporary directory used to store the network socket when started in server mode (using the "--listen" option). If guestfish were run with the "--listen" option, a local attacker could use this flaw to intercept and modify other users' guestfish commands, allowing them to perform arbitrary guestfish actions (such as modifying virtual machines) with the privileges of a different user, or use this flaw to obtain authentication credentials.

Acknowledgements:

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

Other sources

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.

MITRE

Affected Software

7 affected componentsFixes available
redhat/libguestfs<1.20.12
1.20.12
redhat/libguestfs<1.22.7
1.22.7
redhat/libguestfs<1.24
1.24
libguestfs libguestfs>=1.20.0<=1.20.12
libguestfs libguestfs>=1.22.0<=1.22.7
SUSE Suse Linux Enterprise Software Development Kit=11.0-sp3
Novell Suse Linux Enterprise Server=11.0-sp3

Event History

Oct 9, 2013
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software
Nov 5, 2013
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2013-4419?

CVE-2013-4419 has a moderate severity rating due to the insecure creation of temporary directories.

2

How do I fix CVE-2013-4419?

You can fix CVE-2013-4419 by updating libguestfs to version 1.20.12, 1.22.7, or 1.24 or later.

3

What types of systems are affected by CVE-2013-4419?

CVE-2013-4419 affects systems running libguestfs versions prior to 1.20.12, 1.22.7, or 1.24.

4

What does CVE-2013-4419 exploit?

CVE-2013-4419 exploits a vulnerability related to insecure temporary directory creation when libguestfs operates in server mode.

5

Is CVE-2013-4419 a remote or local vulnerability?

CVE-2013-4419 is considered a local vulnerability as it requires local access to exploit the insecure temporary directory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203