Issued:
2021-11-09
Updated:
2021-11-09

RHSA-2021:4251 - Moderate: openjpeg2 security update


Synopsis

Moderate: openjpeg2 security update

Type/Severity

Security Advisory Moderate

Topic

An update for openjpeg2 is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

OpenJPEG is an open source library for reading and writing image files in JPEG2000 format.

The following packages have been upgraded to a later upstream version: openjpeg2 (2.4.0).

Security Fix(es):

  • openjpeg: use-after-free and double-free via a mix of valid and invalid files in a directory operated on by the decompressor (CVE-2020-15389)

  • openjpeg: heap-buffer-overflow in lib/openjp2/mqc.c could result in DoS (CVE-2020-27814)

  • openjpeg: heap-buffer-overflow write in opj_tcd_dc_level_shift_encode() (CVE-2020-27823)

  • openjpeg: heap-buffer-overflow in color.c may lead to DoS or arbitrary code execution (CVE-2021-3575)

  • openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c (CVE-2018-5727)

  • openjpeg: integer overflow in opj_j2k_setup_encoder function in openjp2/j2k.c (CVE-2018-5785)

  • openjpeg: division-by-zero in functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c (CVE-2018-20845)

  • openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c (CVE-2018-20847)

  • openjpeg: denial of service in function opj_t1_encode_cblks in openjp2/t1.c (CVE-2019-12973)

  • openjpeg: global-buffer-overflow read in opj_dwt_calc_explicit_stepsizes() (CVE-2020-27824)

  • openjpeg: null pointer dereference in opj_tgt_reset function in lib/openjp2/tgt.c (CVE-2020-27842)

  • openjpeg: out-of-bounds read in opj_t2_encode_packet function in openjp2/t2.c (CVE-2020-27843)

  • openjpeg: heap-based buffer overflow in functions opj_pi_next_rlcp, opj_pi_next_rpcl and opj_pi_next_lrcp in openjp2/pi.c (CVE-2020-27845)

  • openjpeg: out-of-bounds write due to an integer overflow in opj_compress.c (CVE-2021-29338)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_648x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions8.8x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions8.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support8.8x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support8.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension8.8x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension8.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Life Cycle8.10x86_64
Red Hat Enterprise Linux for Power, little endian8ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support8.8ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support8.6ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Life Cycle8.10ppc64le
Red Hat Enterprise Linux for IBM z Systems8s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support8.8s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support8.6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Life Cycle8.10s390x
Red Hat Enterprise Linux for ARM 648aarch64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support8.8aarch64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support8.6aarch64
Red Hat Enterprise Linux for ARM 64 - Extended Life Cycle8.10aarch64
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions8.8ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions8.6ppc64le
Red Hat Enterprise Linux Server - TUS8.8x86_64
Red Hat Enterprise Linux Server - TUS8.6x86_64
Red Hat Enterprise Linux Server - AUS8.6x86_64
Red Hat CodeReady Linux Builder for x86_648x86_64
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support8.8x86_64
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support8.6x86_64
Red Hat CodeReady Linux Builder for Power, little endian8ppc64le
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support8.8ppc64le
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support8.6ppc64le
Red Hat CodeReady Linux Builder for IBM z Systems8s390x
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support8.8s390x
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support8.6s390x
Red Hat CodeReady Linux Builder for ARM 648aarch64
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support8.8aarch64
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support8.6aarch64

Updated Packages

  • openjpeg2-debuginfo-2.4.0-4.el8.i686.rpm
  • openjpeg2-debugsource-2.4.0-4.el8.i686.rpm
  • openjpeg2-2.4.0-4.el8.ppc64le.rpm
  • openjpeg2-tools-debuginfo-2.4.0-4.el8.i686.rpm
  • openjpeg2-debuginfo-2.4.0-4.el8.ppc64le.rpm
  • openjpeg2-devel-2.4.0-4.el8.x86_64.rpm
  • openjpeg2-devel-2.4.0-4.el8.s390x.rpm
  • openjpeg2-devel-2.4.0-4.el8.aarch64.rpm
  • openjpeg2-tools-2.4.0-4.el8.i686.rpm
  • openjpeg2-2.4.0-4.el8.s390x.rpm
  • openjpeg2-devel-docs-2.4.0-4.el8.noarch.rpm
  • openjpeg2-debuginfo-2.4.0-4.el8.x86_64.rpm
  • openjpeg2-2.4.0-4.el8.i686.rpm
  • openjpeg2-debuginfo-2.4.0-4.el8.aarch64.rpm
  • openjpeg2-debugsource-2.4.0-4.el8.s390x.rpm
  • openjpeg2-tools-debuginfo-2.4.0-4.el8.ppc64le.rpm
  • openjpeg2-debugsource-2.4.0-4.el8.x86_64.rpm
  • openjpeg2-tools-debuginfo-2.4.0-4.el8.s390x.rpm
  • openjpeg2-tools-2.4.0-4.el8.s390x.rpm
  • openjpeg2-2.4.0-4.el8.aarch64.rpm
  • openjpeg2-tools-debuginfo-2.4.0-4.el8.x86_64.rpm
  • openjpeg2-debuginfo-2.4.0-4.el8.s390x.rpm
  • openjpeg2-2.4.0-4.el8.x86_64.rpm
  • openjpeg2-devel-2.4.0-4.el8.i686.rpm
  • openjpeg2-tools-debuginfo-2.4.0-4.el8.aarch64.rpm
  • openjpeg2-tools-2.4.0-4.el8.x86_64.rpm
  • openjpeg2-tools-2.4.0-4.el8.ppc64le.rpm
  • openjpeg2-2.4.0-4.el8.src.rpm
  • openjpeg2-tools-2.4.0-4.el8.aarch64.rpm
  • openjpeg2-debugsource-2.4.0-4.el8.ppc64le.rpm
  • openjpeg2-devel-2.4.0-4.el8.ppc64le.rpm
  • openjpeg2-debugsource-2.4.0-4.el8.aarch64.rpm

Fixes

CVEs

References


Additional information