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

Filename Description Type Creator Created Size Actions
cups-1.2.12-CVE-2008-1373.patch cups-1.2.12-CVE-2008-1373.patch patch Robert Buchholz 2008-03-20 18:00 0000 581 bytes Details | Diff
cups-1.3.6-CVE-2008-1373.patch cups-1.3.6-CVE-2008-1373.patch patch Robert Buchholz 2008-03-20 18:01 0000 551 bytes Details | Diff
cups-1.2.12-r7.ebuild cups-1.2.12-r7.ebuild text/plain Timo Gurr 2008-03-20 22:49 0000 6.99 KB Details
cups-1.3.6-r3.ebuild cups-1.3.6-r3.ebuild text/plain Timo Gurr 2008-03-20 22:52 0000 8.11 KB Details
cups-1.2.12-CVE-2008-0053.patch cups-1.2.12-CVE-2008-0053.patch patch Robert Buchholz 2008-03-24 02:05 0000 1.47 KB Details | Diff
cups-1.2.12-r7.ebuild cups-1.2.12-r7.ebuild text/plain Robert Buchholz 2008-03-24 02:10 0000 7.09 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 214068 depends on: Show dependency tree
Bug 214068 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: 2008-03-20 17:59 0000
Tomas Hoger writes:
Value of code_size is read from GIF image, but not properly validated
before use to initialize table array in gif_read_lzw().  clear_code
used as upper bound in for loop is short, hence overflow is limited to
~16k - 4k short int values.  Moreover, attacker has limited control
over the values written past the end of the buffer.

------- Comment #1 From Robert Buchholz 2008-03-20 18:00:21 0000 -------
Timo, this issue is under embargo until 2008-03-26. Do not commit anything to
CVS until this date. Please prepare an updated ebuild and attach it to this
bug, we will do prestable testing here. Thanks.

------- Comment #2 From Robert Buchholz 2008-03-20 18:00:52 0000 -------
Created an attachment (id=146667) [details]
cups-1.2.12-CVE-2008-1373.patch

------- Comment #3 From Robert Buchholz 2008-03-20 18:01:05 0000 -------
Created an attachment (id=146668) [details]
cups-1.3.6-CVE-2008-1373.patch

------- Comment #4 From Timo Gurr 2008-03-20 22:49:11 0000 -------
Created an attachment (id=146714) [details]
cups-1.2.12-r7.ebuild

Added the patch for CVE-2008-1373 and also removed the unneeded (as also
discussed per mail and with upstream) patch for CVE-2007-4045.

------- Comment #5 From Timo Gurr 2008-03-20 22:52:31 0000 -------
Created an attachment (id=146721) [details]
cups-1.3.6-r3.ebuild

------- Comment #6 From Robert Buchholz 2008-03-20 23:12:42 0000 -------
Arch Security Liaisons, please test the attached ebuild and report it stable on
this bug.
Target keywords : "alpha amd64 arm hppa ia64 m68k ppc ppc64 release s390 sh
sparc x86"

CC'ing current Liaisons:
   alpha : ferdy
   amd64 : welp
    hppa : jer
     ppc : dertobi123
   ppc64 : corsair
 release : pva
   sparc : fmccor
     x86 : opfer

------- Comment #7 From Robert Buchholz 2008-03-20 23:14:24 0000 -------
(In reply to comment #6)
> Arch Security Liaisons, please test the attached ebuild and report it stable on
> this bug.

That is:
=net-print/cups-1.2.12-r7

------- Comment #8 From Christian Faulhammer 2008-03-21 09:43:02 0000 -------
Good to go on x86

------- Comment #9 From Ferris McCormick 2008-03-21 13:12:38 0000 -------
Looks good on sparc.  Tested -1.2.12-r7, remote only, with {.ps, .pdf} files.

------- Comment #10 From Jeroen Roovers 2008-03-21 16:43:37 0000 -------
HPPA is OK.

------- Comment #11 From Markus Rothe 2008-03-22 08:03:33 0000 -------
looks good on ppc64

------- Comment #12 From Tobias Scherbaum 2008-03-22 10:05:09 0000 -------
looks good on ppc

------- Comment #13 From Raúl Porcel 2008-03-22 16:15:00 0000 -------
Adding Tobias for alpha

------- Comment #14 From Tobias Klausmann 2008-03-22 16:51:17 0000 -------
=net-print/cups-1.2.12-r7 works dandy on alpha.

------- Comment #15 From Robert Buchholz 2008-03-24 02:05:24 0000 -------
Created an attachment (id=147078) [details]
cups-1.2.12-CVE-2008-0053.patch

------- Comment #16 From Robert Buchholz 2008-03-24 02:10:20 0000 -------
Created an attachment (id=147080) [details]
cups-1.2.12-r7.ebuild

Ok, cups is killing me these days. Could you please retest with the new -r7
ebuild? Thanks.

------- Comment #17 From Robert Buchholz 2008-03-24 02:18:09 0000 -------
CVE-2008-0053 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-0053):
  Unspecified vulnerability in CUPS before 1.3.6 in Apple Mac OS X 10.5.2 has
  unknown impact and attack vectors related to "input validation."

Apple Advisory:
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html

Impact:  Multiple vulnerabilities in CUPS may lead to an unexpected
application termination or arbitrary code execution with system
privileges
Description:  Multiple input validation issues exist in CUPS, the
most serious of which may lead to arbitrary code execution with
system privileges. This update addresses the issues by updating to
CUPS 1.3.6. These issues do not affect systems prior to Mac OS X
v10.5.

Tomas Hoger writes:
According to upstream, this CVE id was allocated for following issue fixed in
CUPS 1.3.6 (see CHANGES.txt):

- Fixed two overflow bugs in the HP-GL/2 filter (Coverity)

------- Comment #18 From Christian Faulhammer 2008-03-24 08:40:48 0000 -------
Local printing ....ok
Remote printing from
  Windows ...ok
  Linux ...ok

x86 good to go...again.

------- Comment #19 From Ferris McCormick 2008-03-24 12:47:01 0000 -------
sparc still looks good, too, as described in Comment 9.

------- Comment #20 From Markus Rothe 2008-03-24 15:42:03 0000 -------
looks good on ppc64, too.

------- Comment #21 From Jeroen Roovers 2008-03-24 16:27:44 0000 -------
HPPA is OK again.

------- Comment #22 From Tobias Klausmann 2008-03-24 19:07:24 0000 -------
And on alpha, it works, too.

------- Comment #23 From Tobias Scherbaum 2008-03-24 19:34:00 0000 -------
still looks good for ppc

------- Comment #24 From Robert Buchholz 2008-03-26 01:48:40 0000 -------
Please note that the embargo has been delayed until Monday, 03/31.

------- Comment #25 From Markus Rothe 2008-03-26 07:30:46 0000 -------
looks good on ppc64

------- Comment #26 From Robert Buchholz 2008-03-26 23:16:55 0000 -------
(In reply to comment #24)
> Please note that the embargo has been delayed until Monday, 03/31.

.... and again, Tuesday it is.

------- Comment #27 From Robert Buchholz 2008-04-01 14:24:55 0000 -------
This is public now. Printing, please commit with the keywords you gathered.

------- Comment #28 From Robert Buchholz 2008-04-01 19:12:36 0000 -------
Arches, please test and mark stable:
=net-print/cups-1.2.12-r7
Target keywords : "alpha amd64 arm hppa ia64 m68k ppc ppc64 release s390 sh
sparc x86"
Already stabled : "alpha amd64 hppa ppc ppc64 sparc x86"
Missing keywords: "arm ia64 m68k release s390 sh"

------- Comment #29 From Robert Buchholz 2008-04-01 19:18:49 0000 -------
1.3.6 is unaffected for CVE-2008-0053.

This is GLSA-200804-01 - no joke!

------- Comment #30 From Peter Volkov 2008-04-02 11:52:25 0000 -------
Stable on ia64 by armin76.
Fixed in release snapshot.

------- Comment #31 From Robert Buchholz 2008-04-02 12:55:07 0000 -------
*** Bug 215863 has been marked as a duplicate of this bug. ***

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