Bug 1834950 (CVE-2020-12767)

Summary: CVE-2020-12767 libexif: divide-by-zero in exif_entry_get_value function in exif-entry.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ajax, caillon+fedoraproject, gnome-sig, john.j5live, rdieter, rhbugs, rhughes, rstrode, sandmann, thomasj, yselkowi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 22:00:52 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: 1834951, 1836360, 1836361    
Bug Blocks: 1834953    

Description Guilherme de Almeida Suckevicz 2020-05-12 18:18:48 UTC
exif_entry_get_value in exif-entry.c in libexif 0.6.21 has a divide-by-zero error.

Reference:
https://github.com/libexif/libexif/issues/31

Upstream commit:
https://github.com/libexif/libexif/pull/32/commits/4431cd0d67c2b17bf764fa9c253f11051ae8355a

Comment 1 Guilherme de Almeida Suckevicz 2020-05-12 18:19:04 UTC
Created libexif tracking bugs for this issue:

Affects: fedora-all [bug 1834951]

Comment 4 errata-xmlrpc 2020-09-29 20:50:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4040 https://access.redhat.com/errata/RHSA-2020:4040

Comment 5 Product Security DevOps Team 2020-09-29 22:00:52 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-12767

Comment 6 errata-xmlrpc 2020-11-04 03:43:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4766 https://access.redhat.com/errata/RHSA-2020:4766