tharun453 / samples

Sample code referenced by the .NET documentation
https://docs.microsoft.com/samples/browse
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

CVE-2024-32035 (Medium) detected in reportgenerator.4.8.13.nupkg, sixlabors.imagesharp.1.0.2.nupkg #107

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago

CVE-2024-32035 - Medium Severity Vulnerability

Vulnerable Libraries - reportgenerator.4.8.13.nupkg, sixlabors.imagesharp.1.0.2.nupkg

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)

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)

Found in base branch: main

Vulnerability Details

ImageSharp is a 2D graphics API. A vulnerability discovered in the ImageSharp library, where the processing of specially crafted files can lead to excessive memory usage in image decoders. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. This flaw can be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on ImageSharp for image processing tasks. Users and administrators are advised to update to the latest version of ImageSharp that addresses this vulnerability to mitigate the risk of exploitation. The problem has been patched in v3.1.4 and v2.1.8.

Publish Date: 2024-04-15

URL: CVE-2024-32035

CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-g85r-6x2q-45w7

Release Date: 2024-04-15

Fix Resolution: SixLabors.ImageSharp - 2.1.8,3.1.4


Step up your Open Source Security Game with Mend here