CVE-2008-4865
What it is
Untrusted search path vulnerability in valgrind before 3.4.0 allows local users to execute arbitrary programs via a Trojan horse .valgrindrc file in the current working directory, as demonstrated using a malicious --db-command options. NOTE: the severity of this issue has been disputed, but CVE is including this issue because execution of a program from an untrusted directory is a common scenario.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Record status
- Modified
Affected
- Valgrind ≤ 3.4.0
- Valgrind 1.9.6
- Valgrind 2.0.0
- Valgrind 2.1.0
- Valgrind 2.1.1
- Valgrind 2.2.0
- Valgrind 2.4.1
- Valgrind 3.0.0
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-4865.md and follow it. Check whether this project is affected by CVE-2008-4865. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://lists.opensuse.org/opensuse-security-announce/2009-01/msg00004.html
- http://secunia.com/advisories/33568
- http://security.gentoo.org/glsa/glsa-200902-03.xml
- http://sourceforge.net/mailarchive/forum.php?thread_name=200901032045.17604.jseward%40acm.org&forum_name=valgrind-announce
- http://www.openwall.com/lists/oss-security/2008/10/27/4
- http://www.openwall.com/lists/oss-security/2008/10/28/5
- http://www.openwall.com/lists/oss-security/2008/10/29/5
- http://www.openwall.com/lists/oss-security/2008/10/29/9
- http://lists.opensuse.org/opensuse-security-announce/2009-01/msg00004.html
- http://secunia.com/advisories/33568
- http://security.gentoo.org/glsa/glsa-200902-03.xml
- http://sourceforge.net/mailarchive/forum.php?thread_name=200901032045.17604.jseward%40acm.org&forum_name=valgrind-announce
- http://www.openwall.com/lists/oss-security/2008/10/27/4
- http://www.openwall.com/lists/oss-security/2008/10/28/5
- http://www.openwall.com/lists/oss-security/2008/10/29/5
- http://www.openwall.com/lists/oss-security/2008/10/29/9