Integer Overflow or Wraparound 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
1.35% (86th 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-1329144
  • published26 Jul 2021
  • disclosed26 Jun 2019

Introduced: 26 Jun 2019

CVE-2018-20847  (opens in a new tab)
CWE-190  (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.

An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.

CVSS Scores

version 3.1