Bug 147518 - CAN-2004-0888 xpdf integer overflows
CAN-2004-0888 xpdf integer overflows
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gpdf (Show other bugs)
4.0
All Linux
medium Severity high
: ---
: ---
Assigned To: Marco Pesenti Gritti
impact=important,public=20041020
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-08 13:42 EST by Josh Bressers
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-02-15 05:15:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Josh Bressers 2005-02-08 13:42:43 EST
*** This bug has been split off bug 135393 ***

------- Original comment by Mark J. Cox (Security Response Team) on 2004.10.12
10:20 -------

During a source code audit, Chris Evans and others discovered a number
of integer overflow bugs that affected all versions of xpdf.  An
attacker could construct a carefully crafted PDF file that could cause
xpdf to crash or possibly execute arbitrary code when opened.  

        CAN-2004-0888 Affects: 2.1AS 2.1AW 2.1ES 2.1WS
        CAN-2004-0888 Affects: 3AS 3ES 3WS 3Desktop

This issue is embargoed until Oct20 1400UTC
Comment 1 Josh Bressers 2005-02-08 13:43:31 EST
The original fix for this issue was incomplete.  Please see bug 135393 for a
proper fix.
Comment 2 Josh Bressers 2005-02-08 15:35:33 EST
Now that I look at this, I don't think we've fixed this at all in RHEL4.
Comment 3 Marco Pesenti Gritti 2005-02-09 05:58:36 EST
That fix is upstream in 2.8.2, that's why we have no patch for it.
Comment 4 Josh Bressers 2005-02-09 06:39:42 EST
I looked at the code and I'm not seeing a fix for this issue.  If I'm missing
something please point it out.
Comment 5 Marco Pesenti Gritti 2005-02-09 07:07:51 EST
>Now that I look at this, I don't think we've fixed this at all in RHEL4.

I was referring to this comment. The original patch for CAN-2004-0888 is
actually in the 2.8.2 sources. This is in the Changelog and I verified I can
patch -R it.

2004-11-05  Dan Williams  <dcbw@redhat.com>

        * xpdf/Catalog.cc, xpdf/XRef.cc: Fix for a number of integer
        overflow bugs discovered by Chris Evans. CAN-2004-0888,
        Bug #156729, Red Hat Bug #137420.

We still need to fix the issue discovered with that patch. I have that almost done.
Comment 6 Marco Pesenti Gritti 2005-02-09 07:30:14 EST
Ok I built gpdf-2.8.2-4.3 with the patch and updated the errata files.
Comment 7 Mark J. Cox (Product Security) 2005-02-15 05:15:24 EST
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-057.html

Note You need to log in before you can comment on or make changes to this bug.