Bug 839188 (CVE-2012-2840)

Summary: CVE-2012-2840 libexif: "exif_convert_utf16_to_utf8()" off-by-one
Product: [Other] Security Response Reporter: Stefan Cornelius <scorneli>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jrusnack, rhughes, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libexif 0.6.21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-08 18:27:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 839913, 839914, 839915, 839916, 839917    
Bug Blocks: 839036    

Description Stefan Cornelius 2012-07-11 07:38:58 UTC
An off-by-one error in the exif_convert_utf16_to_utf8 function in libexif/exif-entry.c in libexif 0.6.20 and earlier allows remote attackers to cause a denial of service or possibly execute arbitrary code via an image with crafted EXIF tags.

Comment 3 Stefan Cornelius 2012-07-13 08:19:14 UTC
Created libexif tracking bugs for this issue

Affects: fedora-all [bug 839917]

Comment 4 Stefan Cornelius 2012-08-10 08:52:19 UTC
Upstream advisory:
http://sourceforge.net/mailarchive/message.php?msg_id=29534027

Comment 5 Murray McAllister 2012-08-22 06:50:19 UTC
Acknowledgements:

Red Hat would like to thank Dan Fandrich for reporting this issue.

Comment 6 errata-xmlrpc 2012-09-11 18:16:59 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 5

Via RHSA-2012:1255 https://rhn.redhat.com/errata/RHSA-2012-1255.html

Comment 7 Fedora Update System 2013-02-08 02:14:17 UTC
libexif-0.6.21-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-02-08 02:34:37 UTC
libexif-0.6.21-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.