GLSA-200902-03 : Valgrind: 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-200902-03
(Valgrind: Untrusted search path)

Tavis Ormandy reported that Valgrind loads a .valgrindrc file in the
current working directory, executing commands specified there.

Impact :

A local attacker could prepare a specially crafted .valgrindrc file and
entice a user to run Valgrind from the directory containing that file,
resulting in the execution of arbitrary code with the privileges of the
user running Valgrind.

Workaround :

Do not run 'valgrind' from untrusted working directories.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200902-03.xml

Solution :

All Valgrind users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-util/valgrind-3.4.0'

Risk factor :

High / CVSS Base Score : 7.2
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 35674 (gentoo_GLSA-200902-03.nasl)

Bugtraq ID:

CVE ID: CVE-2008-4865