Bug 1609396 (CVE-2018-14338)

Summary: CVE-2018-14338 exiv2: buffer overflow in samples/geotag.cpp
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jgrulich, michel, rdieter
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: 2018-07-30 09:32:09 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: 1609397, 1609398    
Bug Blocks: 1609399    

Description Laura Pardo 2018-07-27 21:40:57 UTC
A flaw was found in Exiv2 0.26. The samples/geotag.cpp in the example code misuses the realpath function on POSIX platforms (other than Apple platforms) where glibc is not used, possibly leading to a buffer overflow.


References:
https://github.com/Exiv2/exiv2/issues/382

Comment 1 Laura Pardo 2018-07-27 21:41:30 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1609397]

Comment 3 Stefan Cornelius 2018-07-30 09:32:09 UTC
We don't ship this. Additionally, this is should not be a problem for us, as we use glibc and realpath() should allocate the buffer there.

Comment 4 Stefan Cornelius 2018-07-30 09:32:17 UTC
Statement:

This issue did not affect the versions of exiv2 as shipped with Red Hat Enterprise Linux 6 and 7.

Comment 6 errata-xmlrpc 2020-04-28 15:27:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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