Insecure Temporary File Affecting python-libguestfs package, versions <1:1.20.11-2.el6


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.75% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-PYTHONLIBGUESTFS-2088629
  • published26 Jul 2021
  • disclosed17 Oct 2013

Introduced: 17 Oct 2013

CVE-2013-4419  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade Centos:6 python-libguestfs to version 1:1.20.11-2.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-libguestfs package and not the python-libguestfs package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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 Base Scores

version 3.1