oss-sec mailing list archives
Re: CVE request: cups - potential integer overflow in PNG image reader [was: CUPS DoS via RSS subscriptions]
From: Tomas Hoger <thoger () redhat com>
Date: Tue, 25 Nov 2008 18:52:36 +0100
On Tue, 25 Nov 2008 15:38:30 +0300 Eygene Ryabinkin <rea-sec () codelabs ru> wrote:
Advisory: http://www.cups.org/str.php?L2974 Patch: http://www.cups.org/strfiles/2974/str2974.patchHmm, my brains aren't in a perfect shape today, so I could be missing some important point, but I don't understand how swapping 'xsize' and 'ysize' can help to fix anything. IIRC, the order of multiplication isn't guaranteed and multiplication is commutative, so 'xsize' and 'ysize' both are equally good or bad and one can not prefer either.
The bug suggests that xsize and ysize values use different upper bounds. So ysize * 3 can overflow (upper bound 2^31-1), while xsize * 3 can't (2^27-1). -- Tomas Hoger / Red Hat Security Response Team
Current thread:
- CVE request: CUPS DoS via RSS subscriptions Kees Cook (Nov 19)
- Re: CVE request: CUPS DoS via RSS subscriptions Steven M. Christey (Nov 20)
- Re: CVE request: CUPS DoS via RSS subscriptions Eygene Ryabinkin (Nov 20)
- Re: CVE request: CUPS DoS via RSS subscriptions Michael Sweet (Nov 21)
- Re: CVE request: cups - potential integer overflow in PNG image reader [was: CUPS DoS via RSS subscriptions] Jan Lieskovsky (Nov 25)
- Re: CVE request: cups - potential integer overflow in PNG image reader [was: CUPS DoS via RSS subscriptions] Eygene Ryabinkin (Nov 25)
- Re: CVE request: cups - potential integer overflow in PNG image reader [was: CUPS DoS via RSS subscriptions] Tomas Hoger (Nov 25)
- Message not available
- Message not available
- Re: CVE request: cups - potential integer overflow in PNG image reader [was: CUPS DoS via RSS subscriptions] Tomas Hoger (Dec 03)
- Re: CVE request: CUPS DoS via RSS subscriptions Eygene Ryabinkin (Nov 20)
- Re: CVE request: CUPS DoS via RSS subscriptions Steven M. Christey (Nov 20)
- <Possible follow-ups>
- Re: CVE request: CUPS DoS via RSS subscriptions Josh Bressers (Nov 19)
- Re: CVE request: CUPS DoS via RSS subscriptions Eygene Ryabinkin (Nov 19)
- Re: CVE request: CUPS DoS via RSS subscriptions Michael Sweet (Nov 19)
- Re: CVE request: CUPS DoS via RSS subscriptions Eygene Ryabinkin (Nov 20)
- Re: CVE request: CUPS DoS via RSS subscriptions Michael R Sweet (Nov 20)
- Re: CVE request: CUPS DoS via RSS subscriptions Eygene Ryabinkin (Nov 19)