GLSA-200902-03 : Valgrind: Untrusted search path

high Nessus Plugin ID 35674

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200902-03

Plugin Details

Severity: High

ID: 35674

File Name: gentoo_GLSA-200902-03.nasl

Version: 1.10

Type: local

Published: 2/13/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

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: 2/12/2009

Reference Information

CVE: CVE-2008-4865

GLSA: 200902-03