First published: Tue Nov 06 2007(Updated: )
Description of problem: Dvips uses insecure tmpnam() function to create files for temporary data while converting a DVI file to laser jet printer format. A local attacker could conduct a time-dependent attack by creating the files before dviljk uses them which could possibly lead into information leak and would permit the attacker to modify the processed data. Additional info: See URL filed for Gentoo report. The attached file fixes this problem by using a secure temporary directory together with other issues.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/3.0 | <40.3. | 40.3. |
TeX Live | ||
teTeX |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-5936 is considered a moderate severity vulnerability due to the potential for local attackers to exploit it.
To fix CVE-2007-5936, update to a version of Dvips that does not utilize the insecure tmpnam() function.
CVE-2007-5936 affects users of Dvips, specifically versions prior to 40.3 and certain teTeX and TeX Live 2007 distributions.
CVE-2007-5936 enables local attackers to perform time-dependent attacks by creating temporary files before Dvips uses them.
A potential workaround for CVE-2007-5936 is to ensure that the Dvips processes run in a secure environment where unauthorized users cannot create temporary files.