Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223965 (CVE-2008-2426) - media-libs/imlib2 <1.4.0-r1 PNM and XPM Buffer Overflow Vulnerabilities (CVE-2008-2426)
Summary: media-libs/imlib2 <1.4.0-r1 PNM and XPM Buffer Overflow Vulnerabilities (CVE-...
Status: RESOLVED FIXED
Alias: CVE-2008-2426
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Security
URL: http://secunia.com/advisories/30401/
Whiteboard: B2 [glsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 15:22 UTC by Matthias Geerdsen (RETIRED)
Modified: 2020-04-09 06:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Geerdsen (RETIRED) gentoo-dev 2008-05-28 15:22:26 UTC
This bug is marked confidential, do not disclose any information or commit
anything until the bug has been made public.

Secunia Research reports a vulnerability in imlib2 (CVE-2008-2426).
Preliminary disclosure date is 2008-06-11.

The following is an excerpt from the vulnerability report, more details are
available:
[...]
Credit: Stefan Cornelius, Secunia Research
[...]

-- Details --

1) There is a boundary error within the "load()" function in
src/modules/loaders/loader_pnm.c when reading the header of an PNM image
file, which can be exploited to cause a stack-based buffer overflow by
e.g. tricking a user into opening a specially crafted PNM image with an
application using the imlib2 library.
[...]
Successful exploitation allows the execution of arbitrary code.

2) There is a boundary error within the "load()" function in
src/modules/loader_xpm.c when processing an XPM image file, which can be
exploited to cause a stack-based buffer overflow by e.g. tricking a user
into opening a specially crafted XPM image with an application using the
imlib2 library.
[...]
Comment 1 Matthias Geerdsen (RETIRED) gentoo-dev 2008-05-28 15:25:06 UTC
upstream has been contacted by secunia btw
Comment 2 Matthias Geerdsen (RETIRED) gentoo-dev 2008-05-29 15:00:50 UTC
public via $URL

patch is supposed to be in CVS according to that advisory
Comment 3 Tomas Hoger 2008-05-30 09:36:22 UTC
Patches from upstream CVS:

https://bugzilla.redhat.com/show_bug.cgi?id=449073#c4

HTH
Comment 4 SpanKY gentoo-dev 2008-05-31 05:42:43 UTC
ive added 1.4.0-r1 and imlib2-1.4.1.000-r1 to the tree ... while both should be fine for stable, i imagine people would be more comfortable with the former
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2008-05-31 09:11:44 UTC
That was a straight-to-stable bump for 1.4.0-r1 ;-)

So going directly to [glsa]
Comment 6 SpanKY gentoo-dev 2008-05-31 10:51:31 UTC
imlib2-1.4.0-r1 isnt in stable ...
Comment 7 Robert Buchholz (RETIRED) gentoo-dev 2008-05-31 23:34:06 UTC
(In reply to comment #6)
> imlib2-1.4.0-r1 isnt in stable ...

You are right. In that case, it seems there is a bug in adjutrix, because it actually outputs the version as stable:
...
1.4.0-r1     | + + + + +   + + +   + +   + ~ |
...
grep KEYWORDS proves you right:
imlib2-1.4.0-r1.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
Comment 8 Robert Buchholz (RETIRED) gentoo-dev 2008-05-31 23:34:51 UTC
Arches, please test and mark stable:
=media-libs/imlib2-1.4.0-r1
Target keywords : "alpha amd64 arm hppa ia64 ppc ppc64 release sh sparc x86"
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2008-06-01 08:45:34 UTC
x86 stable
Comment 10 Markus Rothe (RETIRED) gentoo-dev 2008-06-01 10:54:27 UTC
ppc64 stable
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-02 04:14:00 UTC
Stable for HPPA.
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2008-06-02 10:24:08 UTC
alpha/ia64/sparc stable
Comment 13 Steve Dibb (RETIRED) gentoo-dev 2008-06-03 14:20:05 UTC
amd64 stable
Comment 14 Tobias Scherbaum (RETIRED) gentoo-dev 2008-06-05 18:06:53 UTC
ppc stable
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2008-06-06 07:52:26 UTC
Fixed in release snapshot.
Comment 16 Tobias Heinlein (RETIRED) gentoo-dev 2008-06-06 17:05:54 UTC
GLSA request filed.
Comment 17 Tobias Heinlein (RETIRED) gentoo-dev 2008-06-08 20:52:09 UTC
GLSA 200806-03