RedHat: Low: xloadimage security update
Posted by Benjamin D. Thomas   
RedHat Linux A new xloadimage package that fixes bugs in handling malformed tiff and pbm/pnm/ppm images, and in handling metacharacters in file names is now available.
- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Low: xloadimage security update
Advisory ID:       RHSA-2005:802-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-802.html
Issue date:        2005-10-18
Updated on:        2005-10-18
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2005-3178
- ---------------------------------------------------------------------

1. Summary:

A new xloadimage package that fixes bugs in handling malformed tiff and
pbm/pnm/ppm images, and in handling metacharacters in file names is now
available.

This update has been rated as having low security impact by the Red Hat
Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

3. Problem description:

The xloadimage utility displays images in an X Window System window, loads
images into the root window, or writes images into a file.  Xloadimage
supports many image types (including GIF, TIFF, JPEG, XPM, and XBM).

A flaw was discovered in xloadimage via which an attacker can construct a
NIFF image with a very long embedded image title. This image can cause a
buffer overflow. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2005-3178 to this issue.

All users of xloadimage should upgrade to this erratum package, which
contains backported patches to correct these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (http://bugzilla.redhat.com/):

170150 - CAN-2005-3178 xloadimage NIFF buffer overflow


6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/xloadimage-4.1-36.RHEL2.1.src.rpm
f4bdaa4b58be68996b76cb459a3bd6cb  xloadimage-4.1-36.RHEL2.1.src.rpm

i386:
033bde30356036eb2bb3a18f045e908c  xloadimage-4.1-36.RHEL2.1.i386.rpm

ia64:
24959bb056e6f8647c133790b785528d  xloadimage-4.1-36.RHEL2.1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/xloadimage-4.1-36.RHEL2.1.src.rpm
f4bdaa4b58be68996b76cb459a3bd6cb  xloadimage-4.1-36.RHEL2.1.src.rpm

ia64:
24959bb056e6f8647c133790b785528d  xloadimage-4.1-36.RHEL2.1.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/xloadimage-4.1-36.RHEL2.1.src.rpm
f4bdaa4b58be68996b76cb459a3bd6cb  xloadimage-4.1-36.RHEL2.1.src.rpm

i386:
033bde30356036eb2bb3a18f045e908c  xloadimage-4.1-36.RHEL2.1.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/xloadimage-4.1-36.RHEL2.1.src.rpm
f4bdaa4b58be68996b76cb459a3bd6cb  xloadimage-4.1-36.RHEL2.1.src.rpm

i386:
033bde30356036eb2bb3a18f045e908c  xloadimage-4.1-36.RHEL2.1.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/xloadimage-4.1-36.RHEL3.src.rpm
895a319259026ab6e0055da88ff36ec4  xloadimage-4.1-36.RHEL3.src.rpm

i386:
1583103f2ffc69b306d7132e5efb07c7  xloadimage-4.1-36.RHEL3.i386.rpm

ia64:
ca43a806311d82f8bbb8cc6c4b29d17b  xloadimage-4.1-36.RHEL3.ia64.rpm

ppc:
d217140299cc54a63b8bc726c4d377f5  xloadimage-4.1-36.RHEL3.ppc.rpm

s390:
eddf36c9504ab03c885820e30708bce7  xloadimage-4.1-36.RHEL3.s390.rpm

s390x:
e1809c5d715113f0ec8459281048f719  xloadimage-4.1-36.RHEL3.s390x.rpm

x86_64:
0e83a7874cdde13a33c02316310b7a17  xloadimage-4.1-36.RHEL3.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/xloadimage-4.1-36.RHEL3.src.rpm
895a319259026ab6e0055da88ff36ec4  xloadimage-4.1-36.RHEL3.src.rpm

i386:
1583103f2ffc69b306d7132e5efb07c7  xloadimage-4.1-36.RHEL3.i386.rpm

x86_64:
0e83a7874cdde13a33c02316310b7a17  xloadimage-4.1-36.RHEL3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/xloadimage-4.1-36.RHEL3.src.rpm
895a319259026ab6e0055da88ff36ec4  xloadimage-4.1-36.RHEL3.src.rpm

i386:
1583103f2ffc69b306d7132e5efb07c7  xloadimage-4.1-36.RHEL3.i386.rpm

ia64:
ca43a806311d82f8bbb8cc6c4b29d17b  xloadimage-4.1-36.RHEL3.ia64.rpm

x86_64:
0e83a7874cdde13a33c02316310b7a17  xloadimage-4.1-36.RHEL3.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/xloadimage-4.1-36.RHEL3.src.rpm
895a319259026ab6e0055da88ff36ec4  xloadimage-4.1-36.RHEL3.src.rpm

i386:
1583103f2ffc69b306d7132e5efb07c7  xloadimage-4.1-36.RHEL3.i386.rpm

ia64:
ca43a806311d82f8bbb8cc6c4b29d17b  xloadimage-4.1-36.RHEL3.ia64.rpm

x86_64:
0e83a7874cdde13a33c02316310b7a17  xloadimage-4.1-36.RHEL3.x86_64.rpm

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/xloadimage-4.1-36.RHEL4.src.rpm
5b5f66c4ef8c5da3034be168c1a6059f  xloadimage-4.1-36.RHEL4.src.rpm

i386:
a51440101c1cd09a0756b80ec693f315  xloadimage-4.1-36.RHEL4.i386.rpm

ia64:
b344364d5f9ff3e8f417c17ab88b2f20  xloadimage-4.1-36.RHEL4.ia64.rpm

ppc:
5a4203df880864a802d937fbb0e226d7  xloadimage-4.1-36.RHEL4.ppc.rpm

s390:
7c41b2aaa82fb17d621795b4c17bfb32  xloadimage-4.1-36.RHEL4.s390.rpm

s390x:
25b3b931c2ce4f79d88981e7c81040f8  xloadimage-4.1-36.RHEL4.s390x.rpm

x86_64:
915879a24a47ffb2f19f272ee7fdc698  xloadimage-4.1-36.RHEL4.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/xloadimage-4.1-36.RHEL4.src.rpm
5b5f66c4ef8c5da3034be168c1a6059f  xloadimage-4.1-36.RHEL4.src.rpm

i386:
a51440101c1cd09a0756b80ec693f315  xloadimage-4.1-36.RHEL4.i386.rpm

x86_64:
915879a24a47ffb2f19f272ee7fdc698  xloadimage-4.1-36.RHEL4.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/xloadimage-4.1-36.RHEL4.src.rpm
5b5f66c4ef8c5da3034be168c1a6059f  xloadimage-4.1-36.RHEL4.src.rpm

i386:
a51440101c1cd09a0756b80ec693f315  xloadimage-4.1-36.RHEL4.i386.rpm

ia64:
b344364d5f9ff3e8f417c17ab88b2f20  xloadimage-4.1-36.RHEL4.ia64.rpm

x86_64:
915879a24a47ffb2f19f272ee7fdc698  xloadimage-4.1-36.RHEL4.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/xloadimage-4.1-36.RHEL4.src.rpm
5b5f66c4ef8c5da3034be168c1a6059f  xloadimage-4.1-36.RHEL4.src.rpm

i386:
a51440101c1cd09a0756b80ec693f315  xloadimage-4.1-36.RHEL4.i386.rpm

ia64:
b344364d5f9ff3e8f417c17ab88b2f20  xloadimage-4.1-36.RHEL4.ia64.rpm

x86_64:
915879a24a47ffb2f19f272ee7fdc698  xloadimage-4.1-36.RHEL4.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-3178

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.