Bug 1609396 (CVE-2018-14338) - CVE-2018-14338 exiv2: buffer overflow in samples/geotag.cpp
Summary: CVE-2018-14338 exiv2: buffer overflow in samples/geotag.cpp
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-14338
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1609397 1609398
Blocks: 1609399
TreeView+ depends on / blocked
 
Reported: 2018-07-27 21:40 UTC by Laura Pardo
Modified: 2021-02-16 23:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-30 09:32:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1577 0 None None None 2020-04-28 15:27:15 UTC

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


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