Out-of-bounds Read Affecting openjpeg2 package, versions <0:2.4.0-4.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.15% (52nd 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-RHEL8-OPENJPEG2-1346883
  • published26 Jul 2021
  • disclosed2 Dec 2020

Introduced: 2 Dec 2020

CVE-2020-27845  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade RHEL:8 openjpeg2 to version 0:2.4.0-4.el8 or higher.
This issue was patched in RHSA-2021:4251.

NVD Description

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

There's a flaw in src/lib/openjp2/pi.c of openjpeg in versions prior to 2.4.0. If an attacker is able to provide untrusted input to openjpeg's conversion/encoding functionality, they could cause an out-of-bounds read. The highest impact of this flaw is to application availability.

CVSS Scores

version 3.1