<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200503-17">
  <title>libexif: Buffer overflow vulnerability</title>
  <synopsis>
    libexif fails to validate certain inputs, making it vulnerable to buffer
    overflows.
  </synopsis>
  <product type="ebuild">libexif</product>
  <announced>2005-03-12</announced>
  <revised count="01">2005-03-12</revised>
  <bug>84076</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libexif" auto="yes" arch="*">
      <unaffected range="ge">0.5.12-r1</unaffected>
      <vulnerable range="lt">0.5.12-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libexif is a library for parsing, editing and saving EXIF data.
    </p>
  </background>
  <description>
    <p>
    libexif contains a buffer overflow vulnerability in the EXIF tag
    validation code. When opening an image with a specially crafted EXIF
    tag, the lack of validation can cause applications linked to libexif to
    crash.
    </p>
  </description>
  <impact type="normal">
    <p>
    A specially crafted EXIF file could crash applications making use
    of libexif, potentially allowing the execution of arbitrary code with
    the privileges of the user running the application.
    </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.5.12-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0664">CAN-2005-0664</uri>
  </references>
  <metadata tag="requester" timestamp="2005-03-12T16:28:06Z">
    vorlon078
  </metadata>
  <metadata tag="bugReady" timestamp="2005-03-12T17:56:45Z">
    lewk
  </metadata>
  <metadata tag="submitter" timestamp="2005-03-12T18:48:27Z">
    lewk
  </metadata>
</glsa>
