Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 100265
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
gpdf-xpdf-font-optimize-allanonjl.dif gpdf-xpdf-font-optimize-allanonjl.dif patch John N. Laliberte (RETIRED) 2005-07-30 12:33 0000 21.90 KB Details | Diff
gpdf-2.8.2-CAN-2005-2097.patch gpdf-2.8.2-CAN-2005-2097.patch patch Thierry Carrez (RETIRED) 2005-08-12 00:59 0000 1.93 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100265 depends on: Show dependency tree
Bug 100265 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-25 11:53 0000
See bug #99769.

------- Comment #1 From Thierry Carrez (RETIRED) 2005-07-30 07:08:44 0000 -------
Pulling in Allanonjl

------- Comment #2 From John N. Laliberte (RETIRED) 2005-07-30 08:56:51 0000 -------
xpdf/SplashOutputDev.cc <-- this file is not distributed with the xpdf in gpdf,
but all the other files are.

The top of the included README says:
Xpdf
====

version 3.00
2004-jan-22


Its not clear to me that this version is affected without a test pdf.

Heres the GNOME viewcvs view of the xpdf directory[1], and mysteriously,
SplashOutputDev.cc is there, but SplashOutputDev.cc does not appear in the
tarballs[2].  Seems like the file(s) is/are excluded when they build it.

[1] http://cvs.gnome.org/viewcvs/gpdf/xpdf/

[2] http://ftp.gnome.org/pub/GNOME/sources/gpdf/

------- Comment #3 From John N. Laliberte (RETIRED) 2005-07-30 12:32:10 0000 -------
The provided patch was a tad different in a few places.  I'm attaching my patch
which is just a little bit different.

However, a major portion of the diff could not be applied because
SplashOutputDev.cc is not included in gpdf's source.  Its not even in the
Makefile, so I don't think its supposed to be there either.  The content doesn't
seem to be in any other file in the gpdf package either.

My patch applies cleanly to 2.8.3 what I used for testing, but leaves out a
large portion at the end of the supplied patch to SplashOutputDev.cc.

Bottom line is that even with my patch gpdf is still affected ( tested with a
bad pdf ).

------- Comment #4 From John N. Laliberte (RETIRED) 2005-07-30 12:33:24 0000 -------
Created an attachment (id=64745) [details]
gpdf-xpdf-font-optimize-allanonjl.dif

------- Comment #5 From Heinrich Wendel (RETIRED) 2005-08-04 08:27:09 0000 -------
i also have problems applying it to xpdf, maybe another suse patch is needed 
before 

------- Comment #6 From John N. Laliberte (RETIRED) 2005-08-06 18:03:21 0000 -------
With the 2nd patch applied in the parent bug, everything applies cleanly except
for the missing file SplashOutputDev.cc ( in both patches ). Gpdf is still affected.

So, I did some more digging.

Basically, the gpdf guys created their own OutputDev called GPOutputDev.cc.  I
believe this is where they implement the functionality of SplashOutputDev.cc.

Tonight / Tommorrow I'll try and hack out a patch against GPOutputDev.cc that
fixes this.

------- Comment #7 From Thierry Carrez (RETIRED) 2005-08-07 08:39:32 0000 -------
Have a try, if you don't succeed, we can wait for an official gpdf release
taking this into account...

------- Comment #8 From Thierry Carrez (RETIRED) 2005-08-09 00:40:38 0000 -------
client-based DoS -> downgrading severity

------- Comment #9 From Thierry Carrez (RETIRED) 2005-08-09 13:25:08 0000 -------
Now public
AllanonJL: any success in patching ? anything up in gpdf upstream ?

------- Comment #10 From Thierry Carrez (RETIRED) 2005-08-09 13:47:35 0000 -------
Adding herd alias rather than individual names.

------- Comment #11 From John N. Laliberte (RETIRED) 2005-08-09 14:05:22 0000 -------
I didn't successfully patch it w/o breaking functionality of gpdf.  While the
file is similar, I didn't have enough time to fully understand what they are
doing in GPOutputDev. ( I may have time this weekend )

nothing has changed upstream for gpdf.

------- Comment #12 From Thierry Carrez (RETIRED) 2005-08-10 00:37:12 0000 -------
So we should wait for upstream.

Maybe someone who already has a Gnome bugzilla account can post a bug there ?
You can point them to http://www.kde.org/info/security/advisory-20050809-1.txt
Note: Do not provide the PoC PDF on Bugzilla, but you can send it to the
developer in charge in case of need.

------- Comment #13 From John N. Laliberte (RETIRED) 2005-08-10 06:12:50 0000 -------
done, see:
http://bugs.gnome.org/show_bug.cgi?id=313117

------- Comment #14 From Thierry Carrez (RETIRED) 2005-08-12 00:59:17 0000 -------
Created an attachment (id=65732) [details]
gpdf-2.8.2-CAN-2005-2097.patch

Patch from Mandriva SRPMS, apparently originally from RedHat.

------- Comment #15 From Thierry Carrez (RETIRED) 2005-08-12 01:00:00 0000 -------
AllanonJL: you could try this new one and see if it fixes.

------- Comment #16 From John N. Laliberte (RETIRED) 2005-08-12 06:37:42 0000 -------
patch applied, tested, and committed.

gpdf-2.10.0-r1.ebuild

------- Comment #17 From Thierry Carrez (RETIRED) 2005-08-12 08:19:31 0000 -------
Arches, please test gpdf-2.10.0-r1 and mark stable accordingly.

------- Comment #18 From Gustavo Zacarias (RETIRED) 2005-08-12 08:41:14 0000 -------
sparc stable.

------- Comment #19 From Markus Rothe 2005-08-12 09:02:48 0000 -------
stable on ppc64

------- Comment #20 From Luis Medinas (RETIRED) 2005-08-12 09:20:08 0000 -------
Marked Stable on AMD64.

------- Comment #21 From Mr. Bones. 2005-08-12 09:36:27 0000 -------
I resurrected gpdf-2.10.0.ebuild until -r1 is stable.  Removing the stable
version out from under everyone is not the way we do it.

------- Comment #22 From Lars Weiler (RETIRED) 2005-08-12 10:43:01 0000 -------
Stable on ppc.

------- Comment #23 From Aaron Walker (RETIRED) 2005-08-12 11:14:07 0000 -------
mips stable.

------- Comment #24 From Bryan Østergaard (RETIRED) 2005-08-12 15:13:17 0000 -------
Stable on alpha + ia64.

------- Comment #25 From Michael Hanselmann (hansmi) (RETIRED) 2005-08-13 00:30:34 0000 -------
Stable on hppa.

------- Comment #26 From Sune Kloppenborg Jeppesen 2005-08-15 22:26:59 0000 -------
GLSA 200508-08 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug