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

Synopsis:          Important: java-1.6.0-openjdk security and bug fix update
Advisory ID:       RHSA-2009:1201-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2009:1201.html
Issue date:        2009-08-06
CVE Names:         CVE-2009-0217 CVE-2009-2475 CVE-2009-2476 
                   CVE-2009-2625 CVE-2009-2670 CVE-2009-2671 
                   CVE-2009-2672 CVE-2009-2673 CVE-2009-2674 
                   CVE-2009-2675 CVE-2009-2689 CVE-2009-2690 
====================================================================
1. Summary:

Updated java-1.6.0-openjdk packages that fix several security issues and a
bug are now available for Red Hat Enterprise Linux 5.

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

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, x86_64

3. Description:

These packages provide the OpenJDK 6 Java Runtime Environment and the
OpenJDK 6 Software Development Kit. The Java Runtime Environment (JRE)
contains the software and tools that users need to run applications written
using the Java programming language.

A flaw was found in the way the XML Digital Signature implementation in the
JRE handled HMAC-based XML signatures. An attacker could use this flaw to
create a crafted signature that could allow them to bypass authentication,
or trick a user, applet, or application into accepting untrusted content.
(CVE-2009-0217)

Several potential information leaks were found in various mutable static
variables. These could be exploited in application scenarios that execute
untrusted scripting code. (CVE-2009-2475)

It was discovered that OpenType checks can be bypassed. This could allow a
rogue application to bypass access restrictions by acquiring references to
privileged objects through finalizer resurrection. (CVE-2009-2476)

A denial of service flaw was found in the way the JRE processes XML. A
remote attacker could use this flaw to supply crafted XML that would lead
to a denial of service. (CVE-2009-2625)

A flaw was found in the JRE audio system. An untrusted applet or
application could use this flaw to gain read access to restricted System
properties. (CVE-2009-2670)

Two flaws were found in the JRE proxy implementation. An untrusted applet
or application could use these flaws to discover the usernames of usersrunning applets and applications, or obtain web browser cookies and use
them for session hijacking attacks. (CVE-2009-2671, CVE-2009-2672)

An additional flaw was found in the proxy mechanism implementation. This
flaw allowed an untrusted applet or application to bypass access
restrictions and communicate using non-authorized socket or URL connections
to hosts other than the origin host. (CVE-2009-2673) 

An integer overflow flaw was found in the way the JRE processes JPEG
images. An untrusted application could use this flaw to extend its
privileges, allowing it to read and write local files, as well as to
execute local applications with the privileges of the user running the
application. (CVE-2009-2674)

An integer overflow flaw was found in the JRE unpack200 functionality. An
untrusted applet or application could extend its privileges, allowing it to
read and write local files, as well as to execute local applications with
the privileges of the user running the applet or application. (CVE-2009-2675)

It was discovered that JDK13Services grants unnecessary privileges to
certain object types. This could be misused by an untrusted applet or
application to use otherwise restricted functionality. (CVE-2009-2689)

An information disclosure flaw was found in the way private Java variables
were handled. An untrusted applet or application could use this flaw to
obtain information from variables that would otherwise be private.
(CVE-2009-2690)

Note: The flaws concerning applets in this advisory, CVE-2009-2475,
CVE-2009-2670, CVE-2009-2671, CVE-2009-2672, CVE-2009-2673, CVE-2009-2675,
CVE-2009-2689, and CVE-2009-2690, can only be triggered in
java-1.6.0-openjdk by calling the "appletviewer" application.

This update also fixes the following bug:

* the EVR in the java-1.6.0-openjdk package as shipped with Red Hat
Enterprise Linux allowed the java-1.6.0-openjdk package from the EPEL
repository to take precedence (appear newer). Users using
java-1.6.0-openjdk from EPEL would not have received security updates since
October 2008. This update prevents the packages from EPEL from taking
precedence. (BZ#499079)

All users of java-1.6.0-openjdk are advised to upgrade to these updated
packages, which resolve these issues. All running instances of OpenJDK Java
must be restarted for the update to take effect.

4. Solution:

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

This update is available via Red Hat Network.  Details on how to use
the Red Hat Network to apply this update are available at

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

499079 - Bad EVR
511915 - CVE-2009-0217 xmlsec1, mono, xml-security-c, xml-security-1.3.0-1jpp.ep1.*: XMLDsig HMAC-based signatures spoofing and authentication bypass
512896 - CVE-2009-2670 OpenJDK Untrusted applet System properties access (6738524)
512907 - CVE-2009-2671 CVE-2009-2672 OpenJDK Proxy mechanism information leaks  (6801071)
512914 - CVE-2009-2673 OpenJDK proxy mechanism allows non-authorized socket connections  (6801497)
512915 - CVE-2009-2674 Java Web Start Buffer JPEG processing integer overflow (6823373)
512920 - CVE-2009-2675 Java Web Start Buffer unpack200 processing integer overflow (6830335)
512921 - CVE-2009-2625 OpenJDK XML parsing Denial-Of-Service (6845701)
513215 - CVE-2009-2475 OpenJDK information leaks in mutable variables (6588003,6656586,6656610,6656625,6657133,6657619,6657625,6657695,6660049,6660539,6813167)
513220 - CVE-2009-2476 OpenJDK OpenType checks can be bypassed (6736293)
513222 - CVE-2009-2689 OpenJDK JDK13Services grants unnecessary privileges  (6777448)
513223 - CVE-2009-2690 OpenJDK private variable information disclosure (6777487)

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:

i386:
java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.i386.rpm

x86_64:
java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:

i386:
java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.i386.rpm
java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.i386.rpm

x86_64:
java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.x86_64.rpm
java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.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=CVE-2009-0217
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2475
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2476
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2625
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2670
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2671
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2672
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2673
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2674
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2675
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2689
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2690
http://www.redhat.com/security/updates/classification/#important
http://blogs.sun.com/security/entry/advance_notification_of_security_updates5

8. Contact:

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

Copyright 2009 Red Hat, Inc.

RedHat: Important: java-1.6.0-openjdk security and bug

Updated java-1.6.0-openjdk packages that fix several security issues and a bug are now available for Red Hat Enterprise Linux 5. This update has been rated as having important sec...

Summary

These packages provide the OpenJDK 6 Java Runtime Environment and the OpenJDK 6 Software Development Kit. The Java Runtime Environment (JRE) contains the software and tools that users need to run applications written using the Java programming language.
A flaw was found in the way the XML Digital Signature implementation in the JRE handled HMAC-based XML signatures. An attacker could use this flaw to create a crafted signature that could allow them to bypass authentication, or trick a user, applet, or application into accepting untrusted content. (CVE-2009-0217)
Several potential information leaks were found in various mutable static variables. These could be exploited in application scenarios that execute untrusted scripting code. (CVE-2009-2475)
It was discovered that OpenType checks can be bypassed. This could allow a rogue application to bypass access restrictions by acquiring references to privileged objects through finalizer resurrection. (CVE-2009-2476)
A denial of service flaw was found in the way the JRE processes XML. A remote attacker could use this flaw to supply crafted XML that would lead to a denial of service. (CVE-2009-2625)
A flaw was found in the JRE audio system. An untrusted applet or application could use this flaw to gain read access to restricted System properties. (CVE-2009-2670)
Two flaws were found in the JRE proxy implementation. An untrusted applet or application could use these flaws to discover the usernames of usersrunning applets and applications, or obtain web browser cookies and use them for session hijacking attacks. (CVE-2009-2671, CVE-2009-2672)
An additional flaw was found in the proxy mechanism implementation. This flaw allowed an untrusted applet or application to bypass access restrictions and communicate using non-authorized socket or URL connections to hosts other than the origin host. (CVE-2009-2673)
An integer overflow flaw was found in the way the JRE processes JPEG images. An untrusted application could use this flaw to extend its privileges, allowing it to read and write local files, as well as to execute local applications with the privileges of the user running the application. (CVE-2009-2674)
An integer overflow flaw was found in the JRE unpack200 functionality. An untrusted applet or application could extend its privileges, allowing it to read and write local files, as well as to execute local applications with the privileges of the user running the applet or application. (CVE-2009-2675)
It was discovered that JDK13Services grants unnecessary privileges to certain object types. This could be misused by an untrusted applet or application to use otherwise restricted functionality. (CVE-2009-2689)
An information disclosure flaw was found in the way private Java variables were handled. An untrusted applet or application could use this flaw to obtain information from variables that would otherwise be private. (CVE-2009-2690)
Note: The flaws concerning applets in this advisory, CVE-2009-2475, CVE-2009-2670, CVE-2009-2671, CVE-2009-2672, CVE-2009-2673, CVE-2009-2675, CVE-2009-2689, and CVE-2009-2690, can only be triggered in java-1.6.0-openjdk by calling the "appletviewer" application.
This update also fixes the following bug:
* the EVR in the java-1.6.0-openjdk package as shipped with Red Hat Enterprise Linux allowed the java-1.6.0-openjdk package from the EPEL repository to take precedence (appear newer). Users using java-1.6.0-openjdk from EPEL would not have received security updates since October 2008. This update prevents the packages from EPEL from taking precedence. (BZ#499079)
All users of java-1.6.0-openjdk are advised to upgrade to these updated packages, which resolve these issues. All running instances of OpenJDK Java must be restarted for the update to take effect.



Summary


Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at

References

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0217 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2475 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2476 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2625 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2670 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2671 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2672 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2673 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2674 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2675 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2689 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2690 http://www.redhat.com/security/updates/classification/#important http://blogs.sun.com/security/entry/advance_notification_of_security_updates5

Package List

Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
i386: java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.i386.rpm
x86_64: java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.x86_64.rpm
Red Hat Enterprise Linux (v. 5 server):
Source:
i386: java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.i386.rpm java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.i386.rpm
x86_64: java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-debuginfo-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-demo-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-devel-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-javadoc-1.6.0.0-1.2.b09.el5.x86_64.rpm java-1.6.0-openjdk-src-1.6.0.0-1.2.b09.el5.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


Severity
Advisory ID: RHSA-2009:1201-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2009:1201.html
Issued Date: : 2009-08-06
CVE Names: CVE-2009-0217 CVE-2009-2475 CVE-2009-2476 CVE-2009-2625 CVE-2009-2670 CVE-2009-2671 CVE-2009-2672 CVE-2009-2673 CVE-2009-2674 CVE-2009-2675 CVE-2009-2689 CVE-2009-2690

Topic

Updated java-1.6.0-openjdk packages that fix several security issues and abug are now available for Red Hat Enterprise Linux 5.This update has been rated as having important security impact by the RedHat Security Response Team.


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux (v. 5 server) - i386, x86_64


Bugs Fixed

499079 - Bad EVR

511915 - CVE-2009-0217 xmlsec1, mono, xml-security-c, xml-security-1.3.0-1jpp.ep1.*: XMLDsig HMAC-based signatures spoofing and authentication bypass

512896 - CVE-2009-2670 OpenJDK Untrusted applet System properties access (6738524)

512907 - CVE-2009-2671 CVE-2009-2672 OpenJDK Proxy mechanism information leaks (6801071)

512914 - CVE-2009-2673 OpenJDK proxy mechanism allows non-authorized socket connections (6801497)

512915 - CVE-2009-2674 Java Web Start Buffer JPEG processing integer overflow (6823373)

512920 - CVE-2009-2675 Java Web Start Buffer unpack200 processing integer overflow (6830335)

512921 - CVE-2009-2625 OpenJDK XML parsing Denial-Of-Service (6845701)

513215 - CVE-2009-2475 OpenJDK information leaks in mutable variables (6588003,6656586,6656610,6656625,6657133,6657619,6657625,6657695,6660049,6660539,6813167)

513220 - CVE-2009-2476 OpenJDK OpenType checks can be bypassed (6736293)

513222 - CVE-2009-2689 OpenJDK JDK13Services grants unnecessary privileges (6777448)

513223 - CVE-2009-2690 OpenJDK private variable information disclosure (6777487)


Related News