<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200702-07">
  <title>Sun JDK/JRE: Execution of arbitrary code</title>
  <synopsis>
    Sun Java Development Kit (JDK) and Java Runtime Environment (JRE) contain a
    memory corruption flaw that allows the applets to gain elevated privileges
    potentially leading to the execute of arbitrary code.
  </synopsis>
  <product type="ebuild">java</product>
  <announced>2007-02-17</announced>
  <revised count="05">2008-07-16</revised>
  <bug>162511</bug>
  <access>remote</access>
  <affected>
    <package name="dev-java/sun-jdk" auto="yes" arch="*">
      <unaffected range="ge">1.5.0.10</unaffected>
      <unaffected range="rge">1.4.2.18</unaffected>
      <unaffected range="rge">1.4.2.17</unaffected>
      <unaffected range="rge">1.4.2.15</unaffected>
      <unaffected range="rge">1.4.2.14</unaffected>
      <unaffected range="rge">1.4.2.13</unaffected>
      <vulnerable range="lt">1.5.0.10</vulnerable>
      <vulnerable range="lt">1.4.2.13</vulnerable>
    </package>
    <package name="dev-java/sun-jre-bin" auto="yes" arch="*">
      <unaffected range="ge">1.5.0.10</unaffected>
      <unaffected range="rge">1.4.2.18</unaffected>
      <unaffected range="rge">1.4.2.17</unaffected>
      <unaffected range="rge">1.4.2.15</unaffected>
      <unaffected range="rge">1.4.2.14</unaffected>
      <unaffected range="rge">1.4.2.13</unaffected>
      <vulnerable range="lt">1.5.0.10</vulnerable>
      <vulnerable range="lt">1.4.2.13</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    The Sun Java Development Kit (JDK) and the Sun Java Runtime Environment
    (JRE) provide the Sun Java platform.
    </p>
  </background>
  <description>
    <p>
    A anonymous researcher discovered that an error in the handling of a
    GIF image with a zero width field block leads to a memory corruption
    flaw.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice a user to run a specially crafted Java applet
    or application that would load a crafted GIF image, which could result
    in escalation of privileges and unauthorized access to system
    resources.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Sun Java Development Kit 1.5 users should upgrade to the latest
    version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-java/sun-jdk-1.5.0.10"</code>
    <p>
    All Sun Java Development Kit 1.4 users should upgrade to the latest
    version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "=dev-java/sun-jdk-1.4.2*"</code>
    <p>
    All Sun Java Runtime Environment 1.5 users should upgrade to the latest
    version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-java/sun-jre-bin-1.5.0.10"</code>
    <p>
    All Sun Java Runtime Environment 1.4 users should upgrade to the latest
    version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "=dev-java/sun-jre-bin-1.4.2*"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0243">CVE-2007-0243</uri>
  </references>
  <metadata tag="requester" timestamp="2007-02-10T19:27:14Z">
    falco
  </metadata>
  <metadata tag="bugReady" timestamp="2007-02-10T23:53:12Z">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="2007-02-12T23:55:24Z">
    falco
  </metadata>
</glsa>
