Bug 1487768 (CVE-2017-14039)

Summary: CVE-2017-14039 openjpeg: Heap-based buffer overflow in opj_t2_encode_packet function in lib/openjp2/t2.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: erik-fedora, extras-orphan, hobbes1069, jaromir.capik, manisandro, nforro, oliver, phracek, 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: 2019-06-08 03:23:56 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: 1487769, 1487770, 1487771, 1487772, 1487773    
Bug Blocks:    

Description Pedro Sampaio 2017-09-01 21:21:59 UTC
A heap-based buffer overflow was discovered in the opj_t2_encode_packet function in lib/openjp2/t2.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly unspecified other impact.

Upstream bug:

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

Upstream patch:

https://github.com/uclouvain/openjpeg/commit/c535531f03369623b9b833ef41952c62257b507e

References:

https://blogs.gentoo.org/ago/2017/08/28/openjpeg-heap-based-buffer-overflow-in-opj_t2_encode_packet-t2-c/

Comment 1 Pedro Sampaio 2017-09-01 21:22:19 UTC
Created mingw-openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1487773]


Created mingw-openjpeg2 tracking bugs for this issue:

Affects: fedora-all [bug 1487772]


Created openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1487770]


Created openjpeg2 tracking bugs for this issue:

Affects: epel-all [bug 1487769]
Affects: fedora-all [bug 1487771]