SB2020011450 - Remote code execution in OpenJPEG



SB2020011450 - Remote code execution in OpenJPEG

Published: January 14, 2020 Updated: December 29, 2020

Security Bulletin ID SB2020011450
Severity
High
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 33% Medium 33% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Heap-based buffer overflow (CVE-ID: CVE-2020-6851)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the opj_t1_clbl_decode_processor() function in libopenjp2.so. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


2) Heap-based buffer overflow (CVE-ID: CVE-2020-8112)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the the qmfbid==1 case, a different issue than CVE-2020-6851. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


3) Resource exhaustion (CVE-ID: CVE-2019-6988)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper memory operations that are performed by the opj_calloc function, as defined in the openjp2/opj_malloc.c source code file when a call is made from the opj_tcd_init_tile function in the openjp2/tcd.c file. A remote attacker can trick the victim into executing an JPEG 2000 image file with a 64-bit opj_decompress program that submits malicious input, consume excessive amounts of memory resources and cause the affected application to hang.


Remediation

Install update from vendor's website.