Bug 441692 (CVE-2008-1722) - CVE-2008-1722 cups: integer overflow in the image filter
Summary: CVE-2008-1722 cups: integer overflow in the image filter
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-1722
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 443133 443134 443135 445801 445802 445803 445889 445891
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-09 14:51 UTC by Tomas Hoger
Modified: 2019-09-29 12:24 UTC (History)
2 users (show)

Fixed In Version: 1.3.7-2.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-04 19:04:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0498 0 normal SHIPPED_LIVE Moderate: cups security update 2008-06-05 08:00:59 UTC

Description Tomas Hoger 2008-04-09 14:51:54 UTC
Thomas Pollet reported an integer overflows leading to a heap overflow in the
CUPS' image filter:

  http://www.cups.org/str.php?L2790

  filter/image-png.c:

  img->xsize * img->ysize may overflow (CUPS_IMAGE_MAX_WIDTH and
  CUPS_IMAGE_MAX_HEIGHT are too big for multiplication).

  malloc(img->xsize * img->ysize * 3) can result in a buffer that's too small.

Upstream patch: http://www.cups.org/strfiles/2790/str2790.patch

Comment 4 Tomas Hoger 2008-04-11 07:00:03 UTC
CVE-2008-1722:

Multiple integer overflows in (1) filter/image-png.c and (2)
filter/image-zoom.c in CUPS 1.3 allow attackers to cause a denial of
service (crash) and trigger memory corruption, as demonstrated via a
crafted PNG image.

Comment 6 Josh Bressers 2008-04-16 14:41:39 UTC
This issue affects Red Hat Enterprise Linux 3, 4, and 5.

Comment 15 Tomas Hoger 2008-04-23 07:21:29 UTC
As for vector (2) - image-zoom.c - is not an issue, according to upstream analysis:

CUPS_IMAGE_MAX_WIDTH is 2^27-1, so it is impossible to overflow on
32-bit systems.

Comment 18 Fedora Update System 2008-05-09 11:08:38 UTC
cups-1.3.7-2.fc8 has been submitted as an update for Fedora 8

Comment 19 Fedora Update System 2008-05-09 11:14:33 UTC
cups-1.2.12-11.fc7 has been submitted as an update for Fedora 7

Comment 20 Fedora Update System 2008-05-09 11:23:44 UTC
cups-1.3.7-2.fc9 has been submitted as an update for Fedora 9

Comment 22 Fedora Update System 2008-05-10 13:54:04 UTC
cups-1.3.7-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2008-05-10 13:55:43 UTC
cups-1.2.12-11.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2008-05-13 15:24:47 UTC
cups-1.3.7-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


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