Bug 839189 - (CVE-2012-2841) CVE-2012-2841 libexif: "exif_entry_get_value()" integer underflow
CVE-2012-2841 libexif: "exif_entry_get_value()" integer underflow
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20120712,repor...
: Security
Depends On: 839913 839914 839915 839916 839917
Blocks: 839036
  Show dependency treegraph
 
Reported: 2012-07-11 03:40 EDT by Stefan Cornelius
Modified: 2016-03-04 05:51 EST (History)
3 users (show)

See Also:
Fixed In Version: libexif 0.6.21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-05-08 14:27:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stefan Cornelius 2012-07-11 03:40:27 EDT
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 04:21:17 EDT
Created libexif tracking bugs for this issue

Affects: fedora-all [bug 839917]
Comment 4 Stefan Cornelius 2012-08-10 04:52:11 EDT
Upstream advisory:
http://sourceforge.net/mailarchive/message.php?msg_id=29534027
Comment 5 Murray McAllister 2012-08-22 02:51:50 EDT
Acknowledgements:

Red Hat would like to thank Dan Fandrich for reporting this issue.
Comment 6 errata-xmlrpc 2012-09-11 14:17:01 EDT
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-07 21:14:25 EST
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-07 21:34:44 EST
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.