Out-of-bounds Read Affecting mdadams/jasper package, versions [0,2.0.25)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.11% (46th 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-MDADAMSJASPER-2366909
  • published26 Jan 2022
  • disclosed27 Jan 2021
  • creditUnknown

Introduced: 27 Jan 2021

CVE-2021-3272  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade mdadams/jasper to version 2.0.25 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read jp2_decode in jp2/jp2_dec.c in libjasper in JasPer 2.0.24 has a heap-based buffer over-read when there is an invalid relationship between the number of channels and the number of image components.

References

CVSS Scores

version 3.1