CVE-2007-5940 Path traversal in n/a
Local attackers can overwrite arbitrary files and execute code via symlink attacks on temporary files in the feynmf library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-5940?
CVE-2007-5940 is a medium-severity path traversal vulnerability in n/a, published on 13 Nov 2007. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
feynmf.pl in feynmf 1.08, as used in TeXLive 2007, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the feynmf$$.pl temporary file.
Weakness: CWE-59
Which versions are affected by CVE-2007-5940?
It affects 1 product.
Products include Tug Texlive 2007.
How do I fix CVE-2007-5940?
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-2007-5940 being exploited?
There is no known exploitation of CVE-2007-5940 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2007-5940, GHSA-rghg-gw3p-2f8w.