Bug 474457 (CVE-2008-5299)

Summary: CVE-2008-5299 chm2pdf insecure temporary file symlink flaw
Product: [Other] Security Response Reporter: Josh Bressers <bressers>
Component: vulnerabilityAssignee: Narasimhan <lakshminaras2002>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: lakshminaras2002, mail, security-response-team, vdanen, wnefal+redhatbugzilla
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-5299
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-07 17:04:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 474459, 665494    
Bug Blocks:    

Description Josh Bressers 2008-12-03 21:54:20 UTC
chm2pdf 0.9 allows user-assisted local users to delete arbitrary files via a symlink attack on .chm files in the (1) /tmp/chm2pdf/work or (2) /tmp/chm2pdf/orig temporary directories.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501959

Comment 2 Vincent Danen 2010-12-24 03:22:38 UTC
Let's try this again.  chm2pdf in Fedora 14 is still vulnerable to this.  A
patch was provided in the Debian bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501959#20

I can't think of a reason not to use it.

Comment 3 Vincent Danen 2010-12-24 03:24:07 UTC
Created chm2pdf tracking bugs for this issue

Affects: fedora-all [bug 665494]

Comment 4 Vincent Danen 2011-02-07 17:04:17 UTC
This flaw was corrected in Fedora 14:

chm2pdf-0.9.1-9.fc14 (FEDORA-2011-0454)

and Fedora 13:

chm2pdf-0.9.1-8.fc13 (FEDORA-2011-0467)