Bug 1907516 (CVE-2020-27843)

Summary: CVE-2020-27843 openjpeg: out-of-bounds read in opj_t2_encode_packet function in openjp2/t2.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: jaromir.capik, manisandro, nforro, oliver, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openjpeg 2.4.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in OpenJPEG. This flaw allows an attacker to provide specially crafted input to the conversion or encoding functionality, causing an out-of-bounds read. The highest threat from this vulnerability is system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 17:53:31 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: 1907685, 1907686, 1907687, 1907688, 1908164    
Bug Blocks: 1906158, 1907565    

Description Guilherme de Almeida Suckevicz 2020-12-14 16:42:17 UTC
A flaw was found in OpenJPEG. Specially crafted input file can lead to an out-of-bounds read in opj_t2_encode_packet function in openjp2/t2.c.

Reference:
https://github.com/uclouvain/openjpeg/issues/1297

Comment 1 Todd Cullum 2020-12-15 01:46:49 UTC
Created mingw-openjpeg2 tracking bugs for this issue:

Affects: fedora-all [bug 1907688]


Created openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1907687]


Created openjpeg2 tracking bugs for this issue:

Affects: epel-7 [bug 1907685]
Affects: fedora-all [bug 1907686]

Comment 2 Todd Cullum 2020-12-15 01:51:12 UTC
Acknowledgments:

Name: zodf0055980 (SQLab NCTU Taiwan)

Comment 6 Product Security DevOps Team 2021-11-09 17:53:29 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-27843

Comment 7 errata-xmlrpc 2021-11-09 17:56:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4251 https://access.redhat.com/errata/RHSA-2021:4251