1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200804-15 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: libpng: Execution of arbitrary code |
9 |
Date: April 15, 2008 |
10 |
Bugs: #217047 |
11 |
ID: 200804-15 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A vulnerability in libpng may allow for execution of arbitrary code in |
19 |
certain applications that handle untrusted images. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
libpng is a free ANSI C library used to process and manipulate PNG |
25 |
images. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 media-libs/libpng < 1.2.26-r1 >= 1.2.26-r1 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Tavis Ormandy of the Google Security Team discovered that libpng does |
39 |
not handle zero-length unknown chunks in PNG files correctly, which |
40 |
might lead to memory corruption in applications that call |
41 |
png_set_read_user_chunk_fn() or png_set_keep_unknown_chunks(). |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
A remote attacker could entice a user or automated system to process a |
47 |
specially crafted PNG image in an application using libpng and possibly |
48 |
execute arbitrary code with the privileges of the user running the |
49 |
application. Note that processing of unknown chunks is disabled by |
50 |
default in most PNG applications, but some such as ImageMagick are |
51 |
affected. |
52 |
|
53 |
Workaround |
54 |
========== |
55 |
|
56 |
There is no known workaround at this time. |
57 |
|
58 |
Resolution |
59 |
========== |
60 |
|
61 |
All libpng users should upgrade to the latest version: |
62 |
|
63 |
# emerge --sync |
64 |
# emerge --ask --oneshot --verbose ">=media-libs/libpng-1.2.26-r1" |
65 |
|
66 |
References |
67 |
========== |
68 |
|
69 |
[ 1 ] CVE-2008-1382 |
70 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1382 |
71 |
|
72 |
Availability |
73 |
============ |
74 |
|
75 |
This GLSA and any updates to it are available for viewing at |
76 |
the Gentoo Security Website: |
77 |
|
78 |
http://security.gentoo.org/glsa/glsa-200804-15.xml |
79 |
|
80 |
Concerns? |
81 |
========= |
82 |
|
83 |
Security is a primary focus of Gentoo Linux and ensuring the |
84 |
confidentiality and security of our users machines is of utmost |
85 |
importance to us. Any security concerns should be addressed to |
86 |
security@g.o or alternatively, you may file a bug at |
87 |
http://bugs.gentoo.org. |
88 |
|
89 |
License |
90 |
======= |
91 |
|
92 |
Copyright 2008 Gentoo Foundation, Inc; referenced text |
93 |
belongs to its owner(s). |
94 |
|
95 |
The contents of this document are licensed under the |
96 |
Creative Commons - Attribution / Share Alike license. |
97 |
|
98 |
http://creativecommons.org/licenses/by-sa/2.5 |