Integer and Buffer Overflow Vulnerabilities in the Java Runtime Environment (JRE) "unpack200" JAR Unpacking Utility May Lead to Escalation of Privileges

Integer and buffer overflow vulnerabilities in the Java Runtime Environment (JRE) "unpack200" JAR unpacking utility may lead to escalation of privileges.

Document Audience: PUBLIC
Document ID: 254570
Title: Integer and Buffer Overflow Vulnerabilities in the Java Runtime Environment (JRE) "unpack200" JAR Unpacking Utility May Lead to Escalation of Privileges
Copyright Notice: Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved
Update Date: Tue Mar 24 00:00:00 MDT 2009

Solution Type Sun Alert

Solution  254570 :   Integer and Buffer Overflow Vulnerabilities in the Java Runtime Environment (JRE) "unpack200" JAR Unpacking Utility May Lead to Escalation of Privileges  


Bug ID

6792554

Product

Java Platform, Standard Edition (Java SE)

Date of Resolved Release

24-Mar-2009

SA Document Body

Integer and buffer overflow vulnerabilities in the Java Runtime Environment (JRE) "unpack200" JAR unpacking utility may lead to escalation of privileges:

1. Impact

Integer and buffer overflow vulnerabilities in the Java Runtime Environment (JRE) with unpacking applets and Java Web Start applications using the "unpack200" JAR unpacking utility may allow an untrusted applet or application to escalate privileges. For example, an untrusted applet may grant itself permissions to read and write local files or execute local applications that are accessible to the user running the untrusted applet.

Sun acknowledges with thanks, "regenrecht" working with the iDefense VCP ( http://labs.idefense.com/vcp/ ) and Chris Evans of Google for bringing these issues to our attention.

2. Contributing Factors

These issues can occur in the following Java SE and Java SE for Business releases for Windows, Solaris, and Linux:
  • JDK and JRE 5.0 Update 17 and earlier
  • JDK and JRE 6 Update 12 and earlier
Note: SDK and JRE 1.4.2 and 1.3.1 are not affected by this issue.

To determine the default version of the JRE that Internet Explorer uses, see the following URL:
To determine the default version of the JRE that Mozilla or Firefox browsers use, visit the URL "about:plugins". The browser will display a page called "Installed plug-ins" which lists the version of the Java Plug-in:

Java(TM) Platform SE 6 U11

In this example, the version of the JRE that the browser uses is 6 Update 11.

3. Symptoms

There are no reliable symptoms that would indicate the described issues have been exploited.

4. Workaround

There is no workaround for these issues. Please see the Resolution section below.

5. Resolution

These issues are addressed in the following Java SE and Java SE for Business releases for Windows, Solaris, and Linux:
  • JDK and JRE 5.0 Update 18 or later
  • JDK and JRE 6 Update 13 or later
Java SE releases are available at:

JDK and JRE 6 Update 13:
JRE 6 Update 13: JDK 6 Update 13 for Solaris is available in the following patches:
  • Java SE 6: update 13 (as delivered in patch 125136-14 )
  • Java SE 6: update 13 (as delivered in patch 125137-14 (64bit))
  • Java SE 6_x86: update 13 (as delivered in patch 125138-14 )
  • Java SE 6_x86: update 13 (as delivered in patch 125139-14 (64bit))
JDK and JRE 5.0 Update 18:
JDK 5.0 Update 18 for Solaris is available in the following patches:
  • J2SE 5.0: update 18 (as delivered in patch 118666-19 )
  • J2SE 5.0: update 18 (as delivered in patch 118667-19 (64bit))
  • J2SE 5.0_x86: update 18 (as delivered in patch 118668-19 )
  • J2SE 5.0_x86: update 18 (as delivered in patch 118669-19 (64bit))
Java SE for Business releases are available at:
Note: When installing a new version of the product from a source other than a Solaris patch, it is recommended that the old affected versions be removed from your system. To remove old affected versions on the Windows platform, please see:

For more information on Security Sun Alerts, see Technical Instruction ID 213557 .

This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.
Telegram Подписывайтесь на канал "SecurityLab" в Telegram, чтобы первыми узнавать о новостях и эксклюзивных материалах по информационной безопасности.