1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 201006-02 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: CamlImages: User-assisted execution of arbitrary code |
9 |
Date: June 01, 2010 |
10 |
Bugs: #276235, #290222 |
11 |
ID: 201006-02 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
Multiple integer overflows in CamlImages might result in the remote |
19 |
execution of arbitrary code. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
CamlImages is an image processing library for Objective Caml. |
25 |
|
26 |
Affected packages |
27 |
================= |
28 |
|
29 |
------------------------------------------------------------------- |
30 |
Package / Vulnerable / Unaffected |
31 |
------------------------------------------------------------------- |
32 |
1 dev-ml/camlimages < 3.0.2 >= 3.0.2 |
33 |
|
34 |
Description |
35 |
=========== |
36 |
|
37 |
Tielei Wang reported multiple integer overflows, possibly leading to |
38 |
heap-based buffer overflows in the (1) read_png_file() and |
39 |
read_png_file_as_rgb24() functions, when processing a PNG image |
40 |
(CVE-2009-2295) and (2) gifread.c and jpegread.c files when processing |
41 |
GIF or JPEG images (CVE-2009-2660). |
42 |
|
43 |
Other integer overflows were also found in tiffread.c (CVE-2009-3296). |
44 |
|
45 |
Impact |
46 |
====== |
47 |
|
48 |
A remote attacker could entice a user to open a specially crafted, |
49 |
overly large PNG, GIF, TIFF, or JPEG image using an application that |
50 |
uses the CamlImages library, possibly resulting in the execution of |
51 |
arbitrary code with the privileges of the user running the application. |
52 |
|
53 |
Workaround |
54 |
========== |
55 |
|
56 |
There is no known workaround at this time. |
57 |
|
58 |
Resolution |
59 |
========== |
60 |
|
61 |
All CamlImages users should upgrade to the latest version: |
62 |
|
63 |
# emerge --sync |
64 |
# emerge --ask --oneshot --verbose =dev-ml/camlimages-3.0.2 |
65 |
|
66 |
References |
67 |
========== |
68 |
|
69 |
[ 1 ] CVE-2009-2295 |
70 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2295 |
71 |
[ 2 ] CVE-2009-2660 |
72 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2660 |
73 |
[ 3 ] CVE-2009-3296 |
74 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3296 |
75 |
|
76 |
Availability |
77 |
============ |
78 |
|
79 |
This GLSA and any updates to it are available for viewing at |
80 |
the Gentoo Security Website: |
81 |
|
82 |
http://security.gentoo.org/glsa/glsa-201006-02.xml |
83 |
|
84 |
Concerns? |
85 |
========= |
86 |
|
87 |
Security is a primary focus of Gentoo Linux and ensuring the |
88 |
confidentiality and security of our users machines is of utmost |
89 |
importance to us. Any security concerns should be addressed to |
90 |
security@g.o or alternatively, you may file a bug at |
91 |
https://bugs.gentoo.org. |
92 |
|
93 |
License |
94 |
======= |
95 |
|
96 |
Copyright 2010 Gentoo Foundation, Inc; referenced text |
97 |
belongs to its owner(s). |
98 |
|
99 |
The contents of this document are licensed under the |
100 |
Creative Commons - Attribution / Share Alike license. |
101 |
|
102 |
http://creativecommons.org/licenses/by-sa/2.5 |