Bug 1852869 (CVE-2020-15389) - CVE-2020-15389 openjpeg: use-after-free and double-free via a mix of valid and invalid files in a directory operated on by the decompressor
Summary: CVE-2020-15389 openjpeg: use-after-free and double-free via a mix of valid an...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-15389
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: 1852870 1852871 1855113 1855114 1855115
Blocks: 1852872
TreeView+ depends on / blocked
 
Reported: 2020-07-01 13:49 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-09 17:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-02 17:14:48 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4251 0 None None None 2021-11-09 17:56:12 UTC

Description Guilherme de Almeida Suckevicz 2020-07-01 13:49:54 UTC
jp2/opj_decompress.c in OpenJPEG through 2.3.1 has a use-after-free that can be triggered if there is a mix of valid and invalid files in a directory operated on by the decompressor. Triggering a double-free may also be possible. This is related to calling opj_image_destroy twice.

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

Comment 1 Guilherme de Almeida Suckevicz 2020-07-01 13:50:15 UTC
Created openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1852871]


Created openjpeg2 tracking bugs for this issue:

Affects: epel-all [bug 1852870]

Comment 10 errata-xmlrpc 2021-11-09 17:56:11 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


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