Vulnerability · Published Apr 15, 2024 · Assigned by GitHub_M

CVE-2024-32035Memory Allocation with Excessive Size Value in SixLabors.ImageSharp

Medium 5.3

In plain English

A medium-severity security flaw in ImageSharp from SixLabors. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.6%top 49.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetsixlabors.imagesharp2.1.8GHSA-g85r-6x2q-45w7
NuGetsixlabors.imagesharp3.1.4GHSA-g85r-6x2q-45w7

Affected products (as reported)

VendorProductVersions
SixLabors ImageSharp < 2.1.8>= 3.0.0, < 3.1.4

Weakness: CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References