Integer Overflow or Wraparound Affecting openjpeg2-debugsource package, versions <0:2.4.0-11.amzn2022.0.2


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.11% (31st 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2022-OPENJPEG2DEBUGSOURCE-3102877
  • published4 Nov 2022
  • disclosed14 Apr 2021

Introduced: 14 Apr 2021

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

How to fix?

Upgrade Amazon-Linux:2022 openjpeg2-debugsource to version 0:2.4.0-11.amzn2022.0.2 or higher.
This issue was patched in ALAS2022-2022-184.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjpeg2-debugsource package and not the openjpeg2-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2022 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