GLSA-200911-04 : dstat: Untrusted search path

This script is Copyright (C) 2009-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200911-04
(dstat: Untrusted search path)

Robert Buchholz of the Gentoo Security Team reported that dstat
includes the current working directory and subdirectories in the Python
module search path (sys.path) before calling 'import'.

Impact :

A local attacker could entice a user to run 'dstat' from a directory
containing a specially crafted Python module, resulting in the
execution of arbitrary code with the privileges of the user running the
application.

Workaround :

Do not run 'dstat' from untrusted working directories.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200911-04.xml

Solution :

All dstat users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=sys-apps/dstat-0.6.9-r1'

Risk factor :

Medium / CVSS Base Score : 4.4
(CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 42914 (gentoo_GLSA-200911-04.nasl)

Bugtraq ID:

CVE ID: CVE-2009-3894