Vulnerability Name:

CVE-2020-15389 (CCN-184305)

Assigned:2020-06-27
Published:2020-06-27
Updated:2022-10-06
Summary: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.
CVSS v3 Severity:6.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H)
5.9 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): High
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L)
4.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
6.5 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H)
5.9 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:5.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): Partial
4.3 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-416
CWE-416
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2020-15389

Source: XF
Type: UNKNOWN
openjpeg-cve202015389-code-exec(184305)

Source: CCN
Type: OpenJPEG GIT Repository
Heap use-after-free #1261

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/uclouvain/openjpeg/issues/1261

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20200710 [SECURITY] [DLA 2277-1] openjpeg2 security update

Source: MISC
Type: Third Party Advisory
https://pastebin.com/4sDKQ7U8

Source: GENTOO
Type: Third Party Advisory
GLSA-202101-29

Source: DEBIAN
Type: Third Party Advisory
DSA-4882

Source: N/A
Type: Third Party Advisory
N/A

Source: CCN
Type: Oracle CPUOct2020
Oracle Critical Patch Update Advisory - October 2020

Source: MISC
Type: Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2020.html

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-15389

Vulnerable Configuration:Configuration 1:
  • cpe:/a:uclouvain:openjpeg:*:*:*:*:*:*:*:* (Version <= 2.3.1)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/a:oracle:outside_in_technology:8.5.4:*:*:*:*:*:*:*
  • OR cpe:/a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/a:redhat:enterprise_linux:8::crb:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:uclouvain:openjpeg:2.3.1:*:*:*:*:*:*:*
  • AND
  • cpe:/a:oracle:outside_in_technology:8.5.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7629
    P
    libopenjp2-7-2.3.0-150000.3.8.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:7952
    P
    libopenjpeg1-1.5.2-150000.4.10.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3044
    P
    cups-filters-1.0.58-19.5.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3331
    P
    perl-XML-LibXML-2.0019-6.3.5 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94674
    P
    libopenjp2-7-2.3.0-150000.3.5.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94961
    P
    libopenjpeg1-1.5.2-150000.4.5.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:119373
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:118876
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:119183
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:1062
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:119558
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:101753
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:118686
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:119066
    P
    Security update for openjpeg (Important)
    2022-04-21
    oval:org.opensuse.security:def:118872
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:119179
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:856
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:119554
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:101587
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:118682
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:119062
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:119369
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:1507
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:102087
    P
    Security update for openjpeg2 (Important)
    2022-04-19
    oval:org.opensuse.security:def:126853
    P
    Security update for openjpeg2 (Important)
    2022-04-07
    oval:org.opensuse.security:def:6002
    P
    Security update for openjpeg2 (Important)
    2022-04-07
    oval:org.opensuse.security:def:127250
    P
    Security update for openjpeg2 (Important)
    2022-04-07
    oval:org.opensuse.security:def:125687
    P
    Security update for openjpeg2 (Important)
    2022-04-07
    oval:com.redhat.rhsa:def:20214251
    P
    RHSA-2021:4251: openjpeg2 security update (Moderate)
    2021-11-09
    BACK
    uclouvain openjpeg *
    debian debian linux 9.0
    debian debian linux 10.0
    oracle outside in technology 8.5.4
    oracle outside in technology 8.5.5
    uclouvain openjpeg 2.3.1
    oracle outside in technology 8.5.4