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

Filename Description Type Creator Created Size Actions
cups-CVE-2009-0163.patch Patch for CVE-2009-0163 patch Alex Legler 2009-03-19 19:53 0000 556 bytes Details | Diff
cups-CVE-2009-0164.patch Patch for CVE-2009-0164 patch Alex Legler 2009-03-19 19:54 0000 13.84 KB Details | Diff
cups-str3129.patch Patch for issue #3: Makes cups use external pdftops patch Alex Legler 2009-03-19 19:56 0000 16.89 KB Details | Diff
cups-CVE-2009-0164.patch Revised patch for CVE-2009-0164 patch Robert Buchholz 2009-04-02 10:05 0000 16.47 KB Details | Diff
cups-1.3.9-r2.tar.bz2 cups-1.3.9-r2.tar.bz2 application/octet-stream Timo Gurr 2009-04-07 11:49 0000 13.00 KB Details
cups-1.3.9-CVE-2009-0163.patch cups-1.3.9-CVE-2009-0163.patch [with unix newlines that patch accepts] patch Jeroen Roovers 2009-04-13 03:25 0000 563 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 263070 depends on: Show dependency tree
Bug 263070 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: 2009-03-19 19:38 0000
** Please note that this issue is confidential and no information should be
disclosed until it is made public, see "Whiteboard" for a date **

Drew Yao and Aaron Sigel of Apple Product Security disclosed multiple
vulnerabilities in CUPS:

CVE-2009-0163: Heap-based buffer overflow in the "imagetops" filter
(_cupsImageReadTIFF()), possibly leading to the execution of arbitrary code.

CVE-2009-0164: The web interface is vulnerable to DNS rebinding attacks.

CUPS is vulnerable to the isuses found in xpdf/poppler (CVE-2009-0166,
CVE-2009-0146, CVE-2009-0147) as well. CUPS 1.3.10 will resolve this by
removing the internal filter and call the system-installed pdftops.

------- Comment #1 From Alex Legler 2009-03-19 19:46:13 0000 -------
No commits into CVS, please. I'll add patches, we can do prestabling here.

------- Comment #2 From Alex Legler 2009-03-19 19:53:00 0000 -------
Created an attachment (id=185565) [details]
Patch for CVE-2009-0163

------- Comment #3 From Alex Legler 2009-03-19 19:54:35 0000 -------
Created an attachment (id=185566) [details]
Patch for CVE-2009-0164

This patch introduces host header validation and a new configuration option
"ServerAlias".

------- Comment #4 From Alex Legler 2009-03-19 19:56:30 0000 -------
Created an attachment (id=185568) [details]
Patch for issue #3: Makes cups use external pdftops

------- Comment #5 From Robert Buchholz 2009-04-02 10:05:15 0000 -------
Created an attachment (id=187055) [details]
Revised patch for CVE-2009-0164

Upstream revised the patch and added documentation updates for the user impact
of the DNS rebinding protection.

------- Comment #6 From Robert Buchholz 2009-04-06 10:18:12 0000 -------
embargo is probably going to be postponed to 2009-04-16

------- Comment #7 From Timo Gurr 2009-04-07 11:49:00 0000 -------
Created an attachment (id=187556) [details]
cups-1.3.9-r2.tar.bz2

Tarballs includes only new files, just copy into your local tree and manifest.

------- Comment #8 From Robert Buchholz 2009-04-12 17:23:49 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 s390 sh sparc x86"

CC'ing current Liaisons:
   alpha : armin76, klausman
   amd64 : keytoaster, tester
    hppa : jer
     ppc : josejx, ranger
   ppc64 : josejx, ranger
   sparc : fmccor
     x86 : armin76, maekke

------- Comment #9 From Jeroen Roovers 2009-04-13 03:25:48 0000 -------
Created an attachment (id=188179) [details]
cups-1.3.9-CVE-2009-0163.patch [with unix newlines that patch accepts]

The tarball contains a "files/cups-1.3.9-CVE-2009-0163.patch" [noeol][dos]
(according to vim) that patch doesn't accept.

------- Comment #10 From Jeroen Roovers 2009-04-13 04:03:18 0000 -------
(In reply to comment #9)
> Created an attachment (id=188179) [edit] [details]
> cups-1.3.9-CVE-2009-0163.patch [with unix newlines that patch accepts]
> 
> The tarball contains a "files/cups-1.3.9-CVE-2009-0163.patch" [noeol][dos]
> (according to vim) that patch doesn't accept.

With that in place, HPPA is OK.

------- Comment #11 From Robert Buchholz 2009-04-16 21:54:13 0000 -------
this is now public. cups 1.3.10 fixes the issue.

Feel free to either bump to the prestable tested version, or to the version
bump since only hppa replied (thanks Jeroen! I know I can count on you :-)

------- Comment #12 From Timo Gurr 2009-04-17 01:19:18 0000 -------
I've just committed cups-1.3.10.ebuild to the tree.

------- Comment #13 From Robert Buchholz 2009-04-17 09:29:51 0000 -------
Arches, please test and mark stable:
=net-print/cups-1.3.10
Target keywords : "alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"

------- Comment #14 From Thomas Anderson (tanderson) 2009-04-17 22:41:00 0000 -------
amd64 stable

------- Comment #15 From Markus Meier 2009-04-18 12:02:51 0000 -------
x86 stable

------- Comment #16 From Brent Baude 2009-04-18 13:14:43 0000 -------
ppc64 done

------- Comment #17 From Brent Baude 2009-04-18 13:14:50 0000 -------
ppc done

------- Comment #18 From Jeroen Roovers 2009-04-18 17:05:25 0000 -------
Stable for HPPA.

------- Comment #19 From Raúl Porcel 2009-04-20 15:55:34 0000 -------
arm/ia64/m68k/s390/sh/sparc stable

------- Comment #20 From Tobias Klausmann 2009-04-21 19:30:48 0000 -------
Stable on alpha.

------- Comment #21 From Pierre-Yves Rofes 2009-04-21 19:40:31 0000 -------
glsa already filed by a3li.

------- Comment #22 From Pierre-Yves Rofes 2009-04-23 21:57:44 0000 -------
GLSA 200904-20

------- Comment #23 From Stefan Behte 2009-04-29 15:46:26 0000 -------
CVE-2009-0163 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0163):
  Integer overflow in the TIFF image decoding routines in CUPS 1.3.9
  and earlier allows remote attackers to cause a denial of service
  (daemon crash) and possibly execute arbitrary code via a crafted TIFF
  image, which is not properly handled by the (1) _cupsImageReadTIFF
  function in the imagetops filter and (2) imagetoraster filter,
  leading to a heap-based buffer overflow.

CVE-2009-0164 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0164):
  The web interface for CUPS before 1.3.10 does not validate the HTTP
  Host header in a client request, which makes it easier for remote
  attackers to conduct DNS rebinding attacks.

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