Memory Allocation with Excessive Size Value Affecting sixlabors.imagesharp package, versions [,2.1.8)[3.0.0, 3.1.4)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (20th 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-DOTNET-SIXLABORSIMAGESHARP-6615679
  • published16 Apr 2024
  • disclosed15 Apr 2024
  • creditJohan Åhlgren

Introduced: 15 Apr 2024

CVE-2024-32035  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade SixLabors.ImageSharp to version 2.1.8, 3.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value due to the processing of specially crafted files that can lead to excessive memory usage in image decoders. This flaw can be exploited to deplete process memory, causing a denial of service and affecting applications and services that rely on the library for image processing tasks.

CVSS Scores

version 3.1