<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200712-15">
  <title>libexif: Multiple vulnerabilities</title>
  <synopsis>
    Two vulnerabilities in libexif possibly allow for the execution of
    arbitrary code or a Denial of Service.
  </synopsis>
  <product type="ebuild">libexif</product>
  <announced>2007-12-29</announced>
  <revised count="01">2007-12-29</revised>
  <bug>202350</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libexif" auto="yes" arch="*">
      <unaffected range="ge">0.6.16-r1</unaffected>
      <vulnerable range="lt">0.6.16-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libexif is a library for parsing, editing and saving Exif metadata from
    images. Exif, the Exchangeable image file format, specifies the
    addition of metadata tags to JPEG, TIFF and RIFF files.
    </p>
  </background>
  <description>
    <p>
    Meder Kydyraliev (Google Security) discovered an integer overflow
    vulnerability in the exif_data_load_data_thumbnail() function leading
    to a memory corruption (CVE-2007-6352) and an infinite recursion in the
    exif_loader_write() function (CVE-2007-6351).
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice the user of an application making use of
    libexif to load an image file with specially crafted Exif tags,
    possibly resulting in the execution of arbitrary code with the
    privileges of the user running the application or a Denial of Service.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All libexif users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/libexif-0.6.16-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6351">CVE-2007-6351</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6352">CVE-2007-6352</uri>
  </references>
  <metadata tag="requester" timestamp="2007-12-21T23:07:24Z">
    keytoaster
  </metadata>
  <metadata tag="submitter" timestamp="2007-12-23T19:26:36Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2007-12-23T19:28:21Z">
    rbu
  </metadata>
</glsa>
