Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 477
Alerts This Week
Warning Icon 1 477

Red Hat: RHSA-2012:1068-01 Critical: OpenJPEG Heap Overflow Issues

red hat
Calendar Grey July 11, 2012
Scroller Redhat
Essential patch released for OpenJPEG on Red Hat Enterprise Linux 6 to fix significant vulnerabilities. Update immediately!
Updated openjpeg packages that fix two security issues are now available for Red Hat Enterprise Linux 6

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/articles/11258

Summary

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.

References

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

Package List

Red Hat Enterprise Linux Desktop (v. 6):
Source:
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:
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:
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:
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:
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

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2012:1068-01
Product: Red Hat Enterprise Linux
Issue date: 2012-07-11

Topic

Updated openjpeg packages that fix two security issues are now availablefor Red Hat Enterprise Linux 6.The Red Hat Security Response Team has rated this update as havingimportant security impact. Common Vulnerability Scoring System (CVSS) basescores, which give detailed severity ratings, are available for eachvulnerability from the CVE links in the References section.

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

Bugs Fixed

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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.