Out-of-bounds Write Affecting openjpeg2 package, versions <0:2.4.0-4.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.56% (73rd 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-AMZN2-OPENJPEG2-2349180
  • published21 Jan 2022
  • disclosed14 Apr 2021

Introduced: 14 Apr 2021

CVE-2021-29338  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 openjpeg2 to version 0:2.4.0-4.amzn2 or higher.
This issue was patched in ALAS2-2022-1741.

NVD Description

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

Integer Overflow in OpenJPEG v2.4.0 allows remote attackers to crash the application, causing a Denial of Service (DoS). This occurs when the attacker uses the command line option "-ImgDir" on a directory that contains 1048576 files.

CVSS Base Scores

version 3.1