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.
CVE-2024-27929 - High Severity Vulnerability
Vulnerable Libraries - sixlabors.imagesharp.1.0.2.nupkg, reportgenerator.4.8.13.nupkg
sixlabors.imagesharp.1.0.2.nupkg
A cross-platform library for the processing of image files; written in C#
Library home page: https://api.nuget.org/packages/sixlabors.imagesharp.1.0.2.nupkg
Path to dependency file: /iot/cheesecave.net/cheesecave.net.csproj
Path to vulnerable library: /home/wss-scanner/.nuget/packages/sixlabors.imagesharp/1.0.2/sixlabors.imagesharp.1.0.2.nupkg
Dependency Hierarchy: - iot.device.bindings.1.5.0.nupkg (Root Library) - :x: **sixlabors.imagesharp.1.0.2.nupkg** (Vulnerable Library)
reportgenerator.4.8.13.nupkg
ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio,...
Library home page: https://api.nuget.org/packages/reportgenerator.4.8.13.nupkg
Path to dependency file: /csharp/unit-testing-code-coverage/XUnit.Coverlet.Collector/XUnit.Coverlet.Collector.csproj
Path to vulnerable library: /nuget/packages/reportgenerator/4.8.13/reportgenerator.4.8.13.nupkg
Dependency Hierarchy: - :x: **reportgenerator.4.8.13.nupkg** (Vulnerable Library)
Found in HEAD commit: 0d7f1931b9759c22f0469b959114a5d94f8f92e4
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2024-03-05
URL: CVE-2024-27929
CVSS 3 Score Details (7.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-65x7-c272-7g7r
Release Date: 2024-03-05
Fix Resolution: SixLabors.ImageSharp - 2.1.7,3.1.3
Step up your Open Source Security Game with Mend here