CVE-2009-0314 Path traversal in n/a
Local attackers can execute arbitrary code by placing a malicious Python file in the current working directory when gedit is launched.
- 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-2009-0314?
CVE-2009-0314 is a medium-severity path traversal vulnerability in Fedoraproject Fedora, published on 28 Jan 2009. 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 Python module in gedit allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983).
Weakness: CWE-426
Which versions are affected by CVE-2009-0314?
It affects 2 products.
Products include Fedoraproject Fedora, Gnome Libpeas.
How do I fix CVE-2009-0314?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2009-0314 being exploited?
There is no known exploitation of CVE-2009-0314 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2009-0314, DTSA-191-1, GHSA-7wfg-2ggr-wcjc.