Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200902-03 ] Valgrind: Untrusted search path
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Veteran
Veteran


Joined: 12 May 2004
Posts: 1560

PostPosted: Thu Feb 12, 2009 10:26 pm    Post subject: [ GLSA 200902-03 ] Valgrind: Untrusted search path Reply with quote

Gentoo Linux Security Advisory

Title: Valgrind: Untrusted search path (GLSA 200902-03)
Severity: high
Exploitable: local
Date: February 12, 2009
Bug(s): #245317
ID: 200902-03

Synopsis

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

Background

Valgrind is an open-source memory debugger.

Affected Packages

Package: dev-util/valgrind
Vulnerable: < 3.4.0
Unaffected: >= 3.4.0
Architectures: All supported architectures


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:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-util/valgrind-3.4.0"


References

CVE-2008-4865
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum