Bug 1542321 (CVE-2018-6616)

Summary: CVE-2018-6616 openjpeg2: Excessive iteration in openjp2/t1.c:opj_t1_encode_cblks can allow for denial of service via crafted BMP file
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: manisandro, mbenatto, nforro, rhel8-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openjpeg 2.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 19:54: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: 1542322, 1542323, 1699100, 1699121    
Bug Blocks: 1696282    
Attachments:
Description Flags
Upstream patch none

Description Sam Fowler 2018-02-06 05:32:58 UTC
In OpenJPEG 2.3.0, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.


Upstream Issue:

https://github.com/uclouvain/openjpeg/issues/1059

Comment 1 Sam Fowler 2018-02-06 05:33:22 UTC
Created openjpeg2 tracking bugs for this issue:

Affects: epel-all [bug 1542322]
Affects: fedora-all [bug 1542323]

Comment 4 Marco Benatto 2019-04-11 19:18:52 UTC
Created attachment 1554622 [details]
Upstream patch

Comment 9 Marco Benatto 2019-04-12 13:11:59 UTC
Statement:

This issue did not affect Red Hat Enterprise Linux 7.6 and older versions as they didn't include support for openjpeg2.