First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 212364
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-0047.patch cups-1.2.12-CVE-2008-0047.patch patch Robert Buchholz 2008-03-05 10:19 0000 495 bytes Details | Diff
cups-1.2.12-r6.ebuild cups-1.2.12-r6.ebuild text/plain Timo Gurr 2008-03-10 14:04 0000 6.99 KB Details
cups-1.3.6-r2.ebuild cups-1.3.6-r2.ebuild text/plain Timo Gurr 2008-03-10 14:06 0000 8.02 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212364 depends on: Show dependency tree
Bug 212364 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-05 10:14 0000
CUPS serves an interface on TCP port 631, which provides access to  
several CGI applications.
These applications are used to administer CUPS, and to provide
information about print jobs. These applications all use a common
search function called cgiCompileSearch(). This function takes a user
provide search expression, and compiles it into a regular expression.
By passing a malformed search request, an attacker can trigger a heap  
based buffer overflow.

In order to exploit this vulnerability remotely, the targeted host must
be sharing a printer(s) on the network. If a printer is not being
shared, CUPS only listens on the localhost interface, and the scope of
this vulnerability would be limited to local privilege escalation.


The CVE for this issue is CVE-2008-0047.
It is also tracked by
http://www.cups.org/str.php?L2729

Timing:
This issue should remain embargoed until 3/18/2008.
If there is any change to this schedule, we will notify vendor-sec.

Versions affected:
CUPS 1.2.0 through 1.3.6


Credit:
regenrecht working with the VeriSign iDefense VCP

------- Comment #1 From Robert Buchholz 2008-03-05 10:15:34 0000 -------
Timo, this issue is under embargo until 2008-03-18. 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-05 10:19:26 0000 -------
Created an attachment (id=145338) [edit]
cups-1.2.12-CVE-2008-0047.patch

Upstream patch

------- Comment #3 From Robert Buchholz 2008-03-08 16:29:19 0000 -------
Timo, please prepare an ebuild.

------- Comment #4 From Timo Gurr 2008-03-10 14:04:57 0000 -------
Created an attachment (id=145731) [edit]
cups-1.2.12-r6.ebuild

With the same keywords like cups-1.2.12-r4.ebuild:
Stable: alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86
Testing: ~mips ~sparc-fbsd ~x86-fbsd

------- Comment #5 From Timo Gurr 2008-03-10 14:06:17 0000 -------
Created an attachment (id=145733) [edit]
cups-1.3.6-r2.ebuild

Many thanks to Peter Volkov (pva) for helping me out with the ebuilds and
bugfixes!

------- Comment #6 From Robert Buchholz 2008-03-10 15:36:49 0000 -------
Arch Security Liaisons, please test the attached ebuild (
=net-print/cups-1.2.12-r4 ) 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 Ferris McCormick 2008-03-10 16:42:17 0000 -------
sparc is good with cups-1.2.12-r6. (Tested remote only using {.ps, .pdf} files,
two different printers.)

I think in Comment 6 you mean -1.2.12-r6.  I didn't do anything with -1.3.6-r2.

------- Comment #8 From Robert Buchholz 2008-03-10 17:15:38 0000 -------
(In reply to comment #7)
> I think in Comment 6 you mean -1.2.12-r6.

Hgh.....my copy+paste foo is not improving as fast as I hoped.

------- Comment #9 From Jeroen Roovers 2008-03-11 02:16:48 0000 -------
OK for HPPA.

------- Comment #10 From Christian Faulhammer 2008-03-11 07:57:17 0000 -------
Works on x86 remote and local...only had time for 1.2.12-r6

------- Comment #11 From Markus Rothe 2008-03-11 07:57:59 0000 -------
-1.2.12-r6 looks good on ppc64.

------- Comment #12 From Peter Weller 2008-03-14 07:18:36 0000 -------
Looks good to go on amd64

------- Comment #13 From Robert Buchholz 2008-03-19 00:51:46 0000 -------
public via URL. tgurr, printing, please commit the ebuild to the tree with the
stable keywords earned in this bug.

------- Comment #14 From Robert Buchholz 2008-03-19 21:30:20 0000 -------
printing, I committed the ebuilds here since I could not get hold of tgurr
since yesterday. I did not clean up older ebuilds.

Now for the rest...

Arches, please test and mark stable:
=net-print/cups-1.2.12-r6
Target keywords : "alpha amd64 arm hppa ia64 m68k ppc ppc64 release s390 sh
sparc x86"
Already stabled : "amd64 hppa ppc64 sparc x86"
Missing keywords: "alpha arm ia64 m68k ppc release s390 sh"

------- Comment #15 From Raúl Porcel 2008-03-22 15:22:47 0000 -------
ia64 stable

------- Comment #16 From Tobias Klausmann 2008-03-22 16:21:45 0000 -------
Stable on alpha.

------- Comment #17 From Tobias Scherbaum 2008-03-23 11:09:00 0000 -------
ppc stable, ready for glsa

------- Comment #18 From Peter Volkov 2008-03-23 12:16:36 0000 -------
Fixed in release snapshot.

------- Comment #19 From Robert Buchholz 2008-03-24 19:46:02 0000 -------
draft in 'maker.

------- Comment #20 From Robert Buchholz 2008-04-01 19:19:06 0000 -------
GLSA 200804-01

First Last Prev Next    No search results available      Search page      Enter new bug