Heap-based Buffer Overflow Affecting uclouvain/openjpeg package, versions [,2.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (70th 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-UNMANAGED-UCLOUVAINOPENJPEG-2318835
  • published14 Dec 2021
  • disclosed5 Jan 2021
  • creditUnknown

Introduced: 5 Jan 2021

CVE-2020-27841  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade uclouvain/openjpeg to version 2.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow. There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

CVSS Scores

version 3.1