GLSA-200911-04 : dstat: Untrusted search path

medium Nessus Plugin ID 42914

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200911-04

Plugin Details

Severity: Medium

ID: 42914

File Name: gentoo_GLSA-200911-04.nasl

Version: 1.12

Type: local

Published: 11/30/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:dstat, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 11/25/2009

Reference Information

CVE: CVE-2009-3894

GLSA: 200911-04