Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-32035 EUVD-2024-1203GHSA-g85r-6x2q-45w7

Memory Allocation with Excessive Size Value in SixLabors.ImageSharp

Published Apr 15, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

ImageSharp is a 2D graphics API. A vulnerability discovered in the ImageSharp library, where the processing of specially crafted files can lead to excessive memory usage in image decoders. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. This flaw can be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on ImageSharp for image processing tasks. Users and administrators are advised to update to the latest version of ImageSharp that addresses this vulnerability to mitigate the risk of exploitation. The problem has been patched in v3.1.4 and v2.1.8.

Affected products

VendorProductAffectedFixed
SixLabors ImageSharp < 2.1.8, >= 3.0.0, < 3.1.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet SixLabors.ImageSharp < 2.1.8 2.1.8 GHSA-g85r-6x2q-45w7
NuGet SixLabors.ImageSharp >= 3.0.0, < 3.1.4 3.1.4 GHSA-g85r-6x2q-45w7

References