Use After Free Affecting openjpeg2-devel package, versions <0:2.4.0-4.el8


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
2.6% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-OPENJPEG2DEVEL-3208825
  • published5 Jan 2023
  • disclosed29 Jun 2020

Introduced: 29 Jun 2020

CVE-2020-15389  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 openjpeg2-devel to version 0:2.4.0-4.el8 or higher.
This issue was patched in RLSA-2021:4251.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjpeg2-devel package and not the openjpeg2-devel package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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 Base Scores

version 3.1