Australia's Leading Computer Emergency Response Team

ESB-2012.0669 - [Win][UNIX/Linux][RedHat] openjpeg: Multiple vulnerabilities
Date: 12 July 2012
Original URL: https://auscert.org.au/render.html?cid=1980&it=16080
References: ESB-2013.0279  

Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2012.0669
                    Important: openjpeg security update
                               12 July 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           openjpeg
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Denial of Service               -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-3358 CVE-2009-5030 

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2012-1068.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running openjpeg check for an updated version of the software for 
         their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: openjpeg security update
Advisory ID:       RHSA-2012:1068-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-1068.html
Issue date:        2012-07-11
CVE Names:         CVE-2009-5030 CVE-2012-3358 
=====================================================================

1. Summary:

Updated openjpeg packages that fix two security issues are now available
for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

3. Description:

OpenJPEG is an open source library for reading and writing image files in
JPEG 2000 format.

An input validation flaw, leading to a heap-based buffer overflow, was
found in the way OpenJPEG handled the tile number and size in an image tile
header. A remote attacker could provide a specially-crafted image file
that, when decoded using an application linked against OpenJPEG, would
cause the application to crash or, potentially, execute arbitrary code with
the privileges of the user running the application. (CVE-2012-3358)

OpenJPEG allocated insufficient memory when encoding JPEG 2000 files from
input images that have certain color depths. A remote attacker could
provide a specially-crafted image file that, when opened in an application
linked against OpenJPEG (such as image_to_j2k), would cause the application
to crash or, potentially, execute arbitrary code with the privileges of the
user running the application. (CVE-2009-5030)

Users of OpenJPEG should upgrade to these updated packages, which contain
patches to correct these issues. All running applications using OpenJPEG
must be restarted for the update to take effect.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

812317 - CVE-2009-5030 openjpeg: Heap memory corruption leading to invalid free by processing certain Gray16 TIFF images
835767 - CVE-2012-3358 openjpeg: heap-based buffer overflow when processing JPEG2000 image files

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

i386:
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-libs-1.3-8.el6_3.i686.rpm

x86_64:
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-libs-1.3-8.el6_3.i686.rpm
openjpeg-libs-1.3-8.el6_3.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

i386:
openjpeg-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-devel-1.3-8.el6_3.i686.rpm

x86_64:
openjpeg-1.3-8.el6_3.x86_64.rpm
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-devel-1.3-8.el6_3.i686.rpm
openjpeg-devel-1.3-8.el6_3.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

x86_64:
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-libs-1.3-8.el6_3.i686.rpm
openjpeg-libs-1.3-8.el6_3.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

x86_64:
openjpeg-1.3-8.el6_3.x86_64.rpm
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-devel-1.3-8.el6_3.i686.rpm
openjpeg-devel-1.3-8.el6_3.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

i386:
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-libs-1.3-8.el6_3.i686.rpm

ppc64:
openjpeg-debuginfo-1.3-8.el6_3.ppc.rpm
openjpeg-debuginfo-1.3-8.el6_3.ppc64.rpm
openjpeg-libs-1.3-8.el6_3.ppc.rpm
openjpeg-libs-1.3-8.el6_3.ppc64.rpm

s390x:
openjpeg-debuginfo-1.3-8.el6_3.s390.rpm
openjpeg-debuginfo-1.3-8.el6_3.s390x.rpm
openjpeg-libs-1.3-8.el6_3.s390.rpm
openjpeg-libs-1.3-8.el6_3.s390x.rpm

x86_64:
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-libs-1.3-8.el6_3.i686.rpm
openjpeg-libs-1.3-8.el6_3.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

i386:
openjpeg-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-devel-1.3-8.el6_3.i686.rpm

ppc64:
openjpeg-1.3-8.el6_3.ppc64.rpm
openjpeg-debuginfo-1.3-8.el6_3.ppc.rpm
openjpeg-debuginfo-1.3-8.el6_3.ppc64.rpm
openjpeg-devel-1.3-8.el6_3.ppc.rpm
openjpeg-devel-1.3-8.el6_3.ppc64.rpm

s390x:
openjpeg-1.3-8.el6_3.s390x.rpm
openjpeg-debuginfo-1.3-8.el6_3.s390.rpm
openjpeg-debuginfo-1.3-8.el6_3.s390x.rpm
openjpeg-devel-1.3-8.el6_3.s390.rpm
openjpeg-devel-1.3-8.el6_3.s390x.rpm

x86_64:
openjpeg-1.3-8.el6_3.x86_64.rpm
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-devel-1.3-8.el6_3.i686.rpm
openjpeg-devel-1.3-8.el6_3.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

i386:
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-libs-1.3-8.el6_3.i686.rpm

x86_64:
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-libs-1.3-8.el6_3.i686.rpm
openjpeg-libs-1.3-8.el6_3.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/openjpeg-1.3-8.el6_3.src.rpm

i386:
openjpeg-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-devel-1.3-8.el6_3.i686.rpm

x86_64:
openjpeg-1.3-8.el6_3.x86_64.rpm
openjpeg-debuginfo-1.3-8.el6_3.i686.rpm
openjpeg-debuginfo-1.3-8.el6_3.x86_64.rpm
openjpeg-devel-1.3-8.el6_3.i686.rpm
openjpeg-devel-1.3-8.el6_3.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://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2009-5030.html
https://www.redhat.com/security/data/cve/CVE-2012-3358.html
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2012 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFP/a6NXlSAg2UNWIIRAkhpAJ9LLFPkpkmktZ+nozO71/KfGBBICACeMsS1
SVLrZiQO3N7F9sH7bYKFQoI=
=XqFn
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBT/4jr+4yVqjM2NGpAQIdjA/7BD6+ttyVrpGC/XFkAFHL+D5xaivK9wse
GXwAf00JyE7KEdFG3QAZfa4/x/XEQ4hR4J6KVoz43DbdI2XBnaa4NIrG0eJhgtMA
XProus35HPSer2/zPgcIJixbT67oHcvYEu6waB9n8ZQGsmspj165jXj8HgD5UAxN
CxJAR9ZGS7v72WZBVerBGWmealD3RMwiCujKAOlUx7mgFaDp5k9kBbLX31zZs8fk
nDHTuTmCM0fzo1ECyMvjyhfhThJ9BcBY+JaEe9xy2gsrPrtEGqK3aQUdqcj2KCMM
DQjSfnjj1Fs/ZAYokw0VRJ0YVKLfDZnivf76ZeThCgeoCGdRNhUJPsRNU1kR2Vsg
RyzNt3+rRrWgznz5PP3ooHJ9Am3BYKMqIiVDQib9uc5WO+2BD6p0WK7eUToYmnYv
dE51e3KUQJgYTSA8TA0gxzwOod1HPYdhAKuAHVw6IZmRYVwzGqlmSWH7JhKJmsWH
VkQx7aEWTguo5UsA1WwSAoYkZaefBOqoJBkwIxj0SMCGvVU16nIenXz3H8ChYBa8
HJOvdllCHytbt/SV6wMbU/BIXQkZF2YsDRG1zm4SWzfZ9HUFHOx/OYxXvro/8cbG
PnUzDi47T9o+xfLVKijClyLZsQV/DB4NmQhiW+9EgX8Kegt7qTZh5mfm9u3vRLf0
68NNo/fQ4z8=
=WPkl
-----END PGP SIGNATURE-----