GHSA-65x7-c272-7g7r
Use After Free in SixLabors.ImageSharp
Quick fix
GHSA-65x7-c272-7g7r — SixLabors.ImageSharp: upgrade to the fixed version with the command below.
dotnet add package SixLabors.ImageSharp --version 3.1.3Details
### Impact 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.
### Patches The problem has been patched. All users are advised to upgrade to v3.1.3 or v2.1.7.
### Workarounds None
### References None
Are you affected?
Enter the version of the package you're using.
Affected packages
3.0.0Fixed in: 3.1.3dotnet add package SixLabors.ImageSharp --version 3.1.30Fixed in: 2.1.7dotnet add package SixLabors.ImageSharp --version 2.1.7References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:nuget/SixLabors.ImageSharp"]}'