Bug 1489836 (CVE-2017-14164) - CVE-2017-14164 openjpeg2: Heap-based buffer overflow in opj_write_bytes_LE
Summary: CVE-2017-14164 openjpeg2: Heap-based buffer overflow in opj_write_bytes_LE
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-14164
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1487769 1487770 1487771 1487772 1487773
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-08 12:49 UTC by Andrej Nemec
Modified: 2019-09-29 14:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:24:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-09-08 12:49:56 UTC
A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to denial of service (heap-based buffer overflow affecting opj_write_bytes_LE in lib/openjp2/cio.c) or possibly remote code execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-14152.

Upstream issue:

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

Upstream patch:

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

Comment 1 Andrej Nemec 2017-09-08 12:52:56 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]


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