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-2021-24112 (High) detected in multiple libraries #89

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2021-24112 - High Severity Vulnerability

Vulnerable Libraries - reportgenerator.4.8.13.nupkg, system.drawing.common.5.0.2.nupkg, system.drawing.common.4.5.0.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)

system.drawing.common.5.0.2.nupkg

Provides access to GDI+ graphics functionality. Commonly Used Types: System.Drawing.Bitmap System.D...

Library home page: https://api.nuget.org/packages/system.drawing.common.5.0.2.nupkg

Path to dependency file: /iot/cheesecave.net/cheesecave.net.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.drawing.common/5.0.2/system.drawing.common.5.0.2.nupkg

Dependency Hierarchy: - iot.device.bindings.1.5.0.nupkg (Root Library) - :x: **system.drawing.common.5.0.2.nupkg** (Vulnerable Library)

system.drawing.common.4.5.0.nupkg

Provides access to GDI+ graphics functionality. Commonly Used Types: System.Drawing.Bitmap System.D...

Library home page: https://api.nuget.org/packages/system.drawing.common.4.5.0.nupkg

Path to dependency file: /machine-learning/tutorials/TransferLearningTF/TransferLearningTF.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.drawing.common/4.5.0/system.drawing.common.4.5.0.nupkg

Dependency Hierarchy: - microsoft.ml.imageanalytics.1.6.0.nupkg (Root Library) - :x: **system.drawing.common.4.5.0.nupkg** (Vulnerable Library)

Found in base branch: main

Vulnerability Details

.NET Core Remote Code Execution Vulnerability

Publish Date: 2021-02-25

URL: CVE-2021-24112

CVSS 3 Score Details (8.1)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-rxg9-xrhp-64gj

Release Date: 2021-02-25

Fix Resolution: System.Drawing.Common - 4.7.2,5.0.3


Step up your Open Source Security Game with Mend here