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


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.05% (16th 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 ID SNYK-DOTNET-SIXLABORSIMAGESHARP-6615679
  • published 16 Apr 2024
  • disclosed 15 Apr 2024
  • credit Johan Åhlgren

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.