Bug 1531724 (CVE-2018-4868) - CVE-2018-4868 exiv2: Excessive memory allocation in Exiv2::Jp2Image::readMetadata function in jp2image.cpp
Summary: CVE-2018-4868 exiv2: Excessive memory allocation in Exiv2::Jp2Image::readMeta...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-4868
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: 1531729 1701506 1701507
Blocks: 1696279
TreeView+ depends on / blocked
 
Reported: 2018-01-05 21:42 UTC by Laura Pardo
Modified: 2021-01-13 04:55 UTC (History)
4 users (show)

Fixed In Version: exiv 0.27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:31:50 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:26:59 UTC

Description Laura Pardo 2018-01-05 21:42:57 UTC
The Exiv2::Jp2Image::readMetadata function in jp2image.cpp in Exiv2 0.26 allows remote attackers to cause a denial of service (excessive memory allocation) via a crafted file.

Upstream Issue:
https://github.com/Exiv2/exiv2/issues/202

Comment 1 Laura Pardo 2018-01-05 21:43:28 UTC
Created exiv2 tracking bugs for this issue:

Affects: fedora-all [bug 1531729]

Comment 2 Riccardo Schirone 2019-04-19 09:49:53 UTC
Upstream patch:
https://github.com/Exiv2/exiv2/commit/9cddfa514d4fddf7a5f93be74dae2e93d9722204

Comment 3 Riccardo Schirone 2019-04-19 10:00:54 UTC
A big allocation, caused by not enough checks, is present in Jp2Image::redMetadata() when the box type is Jp2Header and the subBox is ColorHeader.

Comment 6 errata-xmlrpc 2020-04-28 15:26:58 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

Comment 7 Product Security DevOps Team 2020-04-28 16:31:50 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-2018-4868


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