CVE-2011-2905 Path traversal in n/a

Medium 6.2 Published Updated

Local attackers can overwrite arbitrary files by placing a crafted config file in the current working directory when running the perf tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2011-2905?

CVE-2011-2905 is a medium-severity path traversal vulnerability in Linux kernel, published on 1 Mar 2013. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Which versions are affected by CVE-2011-2905?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2011-2905?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2011-2905 being exploited?

There is no known exploitation of CVE-2011-2905 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-4wv3-q9v5-fp5m.

Is CVE-2011-2905 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free