Executive Summary

Summary
Title Valgrind: Untrusted search path
Informations
Name GLSA-200902-03 First vendor Publication 2009-02-12
Vendor Gentoo Last vendor Modification 2009-02-12
Severity (Vendor) High Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:L/Au:N/C:C/I:C/A:C)
Cvss Base Score 7.2 Attack Range Local
Cvss Impact Score 10 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

An untrusted search path vulnerability in Valgrind might result in the execution of arbitrary code.

Background

Valgrind is an open-source memory debugger.

Description

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.

Resolution

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

References

[ 1 ] CVE-2008-4865 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4865

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

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

Original Source

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

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 21

OpenVAS Exploits

Date Description
2009-03-02 Name : Mandrake Security Advisory MDVSA-2009:057 (valgrind)
File : nvt/mdksa_2009_057.nasl
2009-02-13 Name : Gentoo Security Advisory GLSA 200902-03 (valgrind)
File : nvt/glsa_200902_03.nasl
2009-01-20 Name : SuSE Security Summary SUSE-SR:2009:002
File : nvt/suse_sr_2009_002.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
50262 valgrind .valgrindrc File Option Handling Search Path Subversion Arbitrary Lo...

Nessus® Vulnerability Scanner

Date Description
2011-01-27 Name : The remote SuSE 10 host is missing a security-related patch.
File : suse_valgrind-5803.nasl - Type : ACT_GATHER_INFO
2009-07-21 Name : The remote openSUSE host is missing a security update.
File : suse_11_0_valgrind-081121.nasl - Type : ACT_GATHER_INFO
2009-04-23 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2009-057.nasl - Type : ACT_GATHER_INFO
2009-02-13 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200902-03.nasl - Type : ACT_GATHER_INFO
2008-12-01 Name : The remote openSUSE host is missing a security update.
File : suse_valgrind-5809.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:36:17
  • Multiple Updates