Input validation error in Linux kernel - CVE-2011-2905
Published: March 1, 2013 / Updated: August 11, 2020
Linux kernel
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
Untrusted search path vulnerability in the perf_config function in tools/perf/util/config.c in perf, as distributed in the Linux kernel before 3.1, allows local users to overwrite arbitrary files via a crafted config file in the current working directory. Per: http://cwe.mitre.org/data/definitions/426.html 'CWE-426 Untrusted Search Path'
How to mitigate CVE-2011-2905
Sources
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=aba8d056078e47350d85b06a9cabd5afcc4b72ea
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.1
- http://www.openwall.com/lists/oss-security/2011/08/09/6
- https://bugzilla.redhat.com/show_bug.cgi?id=729808
- https://github.com/torvalds/linux/commit/aba8d056078e47350d85b06a9cabd5afcc4b72ea