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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SixLabors | ImageSharp | >= 3.0.0, < 3.1.3, < 2.1.7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| NuGet | SixLabors.ImageSharp | >= 3.0.0, < 3.1.3 | 3.1.3 | GHSA-65x7-c272-7g7r |
| NuGet | SixLabors.ImageSharp | < 2.1.7 | 2.1.7 | GHSA-65x7-c272-7g7r |