Out-of-Bounds Affecting uclouvain/openjpeg package, versions [,2.3.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.53% (78th 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-2318813
  • published14 Dec 2021
  • disclosed6 Sept 2017
  • creditUnknown

Introduced: 6 Sep 2017

CVE-2017-14164  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade uclouvain/openjpeg to version 2.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. A size-validation issue was discovered in opj_j2k_write_sot in lib/openjp2/j2k.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service (heap-based buffer overflow affecting opj_write_bytes_LE in lib/openjp2/cio.c) or possibly remote code execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-14152.

CVSS Scores

version 3.1