Bug 839189 (CVE-2012-2841) - CVE-2012-2841 libexif: "exif_entry_get_value()" integer underflow
Summary: CVE-2012-2841 libexif: "exif_entry_get_value()" integer underflow
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-2841
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 839913 839914 839915 839916 839917
Blocks: 839036
TreeView+ depends on / blocked
 
Reported: 2012-07-11 07:40 UTC by Stefan Cornelius
Modified: 2023-05-12 20:14 UTC (History)
3 users (show)

Fixed In Version: libexif 0.6.21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-08 18:27:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1255 0 normal SHIPPED_LIVE Moderate: libexif security update 2012-09-11 22:12:47 UTC

Description Stefan Cornelius 2012-07-11 07:40:27 UTC
An integer underflow in the exif_entry_get_value function can cause a heap overflow and potentially arbitrary code execution while formatting an EXIF tag, if the function is called with a buffer size parameter equal to zero or one.

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

Affects: fedora-all [bug 839917]

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

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

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

Comment 6 errata-xmlrpc 2012-09-11 18:17:01 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:25 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:44 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.


Note You need to log in before you can comment on or make changes to this bug.