CVE-2011-1031 Path traversal in n/a
Local attackers can create arbitrary files via symlink attacks on temporary files in feh, potentially overwriting data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-1031?
CVE-2011-1031 is a low-severity path traversal vulnerability in n/a, published on 14 Feb 2011. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The feh_unique_filename function in utils.c in feh 1.11.2 and earlier might allow local users to create arbitrary files via a symlink attack on a /tmp/feh_ temporary file, a different vulnerability than CVE-2011-0702.
Weakness: CWE-59
Which versions are affected by CVE-2011-1031?
It affects 1 product.
Products include Feh Project Feh.
How do I fix CVE-2011-1031?
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-1031 being exploited?
There is no known exploitation of CVE-2011-1031 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2011-1031, GHSA-mf2w-fpcr-p3w9.