GLSA-200902-03 : Valgrind: Untrusted search path

High Nessus Plugin ID 35674


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


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.


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

See Also

Plugin Details

Severity: High

ID: 35674

File Name: gentoo_GLSA-200902-03.nasl

Version: $Revision: 1.8 $

Type: local

Published: 2009/02/13

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.2

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

Vulnerability Information

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

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

Patch Publication Date: 2009/02/12

Reference Information

CVE: CVE-2008-4865

GLSA: 200902-03