Vulnerability · Published Mar 5, 2024 · Assigned by GitHub_M

CVE-2024-27929Use After Free in SixLabors.ImageSharp

High 7.1

In plain English

A high-severity use-after-free 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.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.4%top 70.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

ImageSharp is a managed, cross-platform, 2D graphics library. A heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially crafted PNG image file to ImageSharp for conversion, potentially leading to information disclosure. This issue has been patched in versions 3.1.3 and 2.1.7.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetsixlabors.imagesharp3.1.3GHSA-65x7-c272-7g7r
NuGetsixlabors.imagesharp2.1.7GHSA-65x7-c272-7g7r

Affected products (as reported)

VendorProductVersions
SixLabors ImageSharp >= 3.0.0, < 3.1.3< 2.1.7

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

References