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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | sixlabors.imagesharp | 3.1.3 | GHSA-65x7-c272-7g7r |
| NuGet | sixlabors.imagesharp | 2.1.7 | GHSA-65x7-c272-7g7r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-65x7-c272-7g7r x_refsource_CONFIRM