Bug 175105

Summary: CVE-2005-3193 xpdf issues (CVE-2005-3191 CVE-2005-3192 CVE-2005-3624 CVE-2005-3625 CVE-2005-3626 CVE-2005-3627 CVE-2005-3628)
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: kdegraphicsAssignee: Than Ngo <than>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: jhutar, security-response-team, thoger
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,reported=20051103,public=20051206
Fixed In Version: RHSA-2005-868 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 14:52:20 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:
Attachments:
Description Flags
Complete patch from xpdf
none
Reproducer from Chris Evans
none
back-trace none

Description Josh Bressers 2005-12-06 17:46:59 UTC
+++ This bug was initially created as a clone of Bug #175089 +++

Derek Noonburg sent us a patch for xpdf to correct a number of security issues.
 This is due to be public 20051201.

An attacker could construct a carefully crafted PDF file that could cause Xpdf
to crash or possibly execute arbitrary code when opened. 

This issue affects RHEL3, RHEL3, RHEL2.1

-- Additional comment from mjc on 2005-11-22 03:42 EST --
Created an attachment (id=121332)
Proposed patch from Derek

Comment 1 Josh Bressers 2005-12-06 18:36:29 UTC
Than,

If you can roll up some packages, I'll deal with the errata.

Comment 2 Josh Bressers 2005-12-06 18:56:52 UTC
Attachment 121940 [details] contains a more complete patch which was taken from our recent
xpdf update.

Comment 3 Than Ngo 2005-12-07 10:55:21 UTC
Josh,

kpdf is included in kdegraphics version > 3.3.x, it's also effected in RHEL4 and
FC3/FC4. I have built new kdegraphics in dist-4E-errata-candidate.
It would be great if you could create errata text for this please. Thanks

Comment 7 Red Hat Bugzilla 2005-12-20 14:48:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-868.html


Comment 8 Josh Bressers 2006-03-07 19:17:03 UTC
It has come to our attention that CVE-2005-3627 was not properly fixed.

Comment 9 Josh Bressers 2006-03-07 20:10:44 UTC
Created attachment 125771 [details]
Complete patch from xpdf

Here is the complete patch from xpdf upstream.	The patch used for kpdf missed
some bits of this.

Comment 10 Josh Bressers 2006-03-07 20:12:17 UTC
Created attachment 125772 [details]
Reproducer from Chris Evans

Here is Chris' original advisory, it has links to various other bad pdf files.
http://scary.beasts.org/security/CESA-2005-003.txt

Comment 11 Josh Bressers 2006-03-07 22:26:21 UTC
I've filed bug 184307 to cover the incomplete fix rather than reusing this bug.

Comment 13 Jan Hutaƙ 2007-11-05 18:10:50 UTC
Created attachment 248491 [details]
back-trace

/usr/bin/kpdf --nocrashhandler bz175105.pdf

kdegraphics-3.5.4-4.el5_1.i386

Comment 14 Than Ngo 2007-11-06 11:15:44 UTC
it's strange, the bug is only affected in RHEL-4/RHEL-3/RHEL-2 with 
kdegraphics <= 3.5.0, which was fixed long ago. This security issue is not 
affected in RHEL-5 with kdegraphic-3.5.4!

I cannot reproduce the crash with kdegraphics-3_3_1-6_el4_5 and 
kdegraphics-3_5_4-4_el5_1!

It seems your testenviroment is broken. Could you please check your 
testenviroment again? Thanks