Out-of-bounds Write Affecting libjpeg-turbo package, versions [,2.0.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.47% (77th 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-LIBJPEGTURBO-2317739
  • published14 Dec 2021
  • disclosed1 Jun 2021
  • creditUnknown

Introduced: 1 Jun 2021

CVE-2020-17541  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libjpeg-turbo to version 2.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. A remote attacker can send a malformed jpeg file to the service and cause arbitrary code execution or denial of service of the target service.

References

CVSS Scores

version 3.1