Hieunc-NT / eShopOnContainers

Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 6, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
https://dot.net/architecture
MIT License
0 stars 0 forks source link

WebMVC-1.0.0: 3 vulnerabilities (highest severity is: 7.5) #30

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - WebMVC-1.0.0

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.security.cryptography.xml/6.0.0/system.security.cryptography.xml.6.0.0.nupkg

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (WebMVC version) Remediation Possible**
CVE-2024-38095 High 7.5 system.formats.asn1.6.0.0.nupkg Transitive N/A*
CVE-2023-29331 High 7.5 system.security.cryptography.pkcs.6.0.0.nupkg Transitive N/A*
CVE-2022-34716 Medium 5.9 system.security.cryptography.xml.6.0.0.nupkg Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-38095 ### Vulnerable Library - system.formats.asn1.6.0.0.nupkg

Provides classes that can read and write the ASN.1 BER, CER, and DER data formats. Commonly Used Ty...

Library home page: https://api.nuget.org/packages/system.formats.asn1.6.0.0.nupkg

Path to dependency file: /src/Services/Basket/Basket.UnitTests/Basket.UnitTests.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.formats.asn1/6.0.0/system.formats.asn1.6.0.0.nupkg

Dependency Hierarchy: - WebMVC-1.0.0 (Root Library) - microsoft.aspnetcore.dataprotection.stackexchangeredis.6.0.0.nupkg - microsoft.aspnetcore.dataprotection.6.0.0.nupkg - system.security.cryptography.xml.6.0.0.nupkg - system.security.cryptography.pkcs.6.0.0.nupkg - :x: **system.formats.asn1.6.0.0.nupkg** (Vulnerable Library)

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

Found in base branch: dev

### Vulnerability Details

.NET and Visual Studio Denial of Service Vulnerability

Publish Date: 2024-07-09

URL: CVE-2024-38095

### CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-447r-wph3-92pm

Release Date: 2024-07-09

Fix Resolution: Microsoft.NetCore.App.Runtime - 6.0.32,8.0.7, System.Formats.Asn1 - 6.0.1,8.0.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2023-29331 ### Vulnerable Library - system.security.cryptography.pkcs.6.0.0.nupkg

Provides support for PKCS and CMS algorithms. Commonly Used Types: System.Security.Cryptography.Pkc...

Library home page: https://api.nuget.org/packages/system.security.cryptography.pkcs.6.0.0.nupkg

Path to dependency file: /src/Services/Basket/Basket.UnitTests/Basket.UnitTests.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.security.cryptography.pkcs/6.0.0/system.security.cryptography.pkcs.6.0.0.nupkg

Dependency Hierarchy: - WebMVC-1.0.0 (Root Library) - microsoft.aspnetcore.dataprotection.stackexchangeredis.6.0.0.nupkg - microsoft.aspnetcore.dataprotection.6.0.0.nupkg - system.security.cryptography.xml.6.0.0.nupkg - :x: **system.security.cryptography.pkcs.6.0.0.nupkg** (Vulnerable Library)

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

Found in base branch: dev

### Vulnerability Details

.NET, .NET Framework, and Visual Studio Denial of Service Vulnerability

Publish Date: 2023-06-14

URL: CVE-2023-29331

### CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-555c-2p6r-68mm

Release Date: 2023-06-14

Fix Resolution: Microsoft.NetCore.App.Runtime.linux-arm - 6.0.18,7.0.7, Microsoft.Windows.Compatibility - 6.0.6,7.0.3, System.Security.Cryptography.Pkcs - 6.0.3,7.0.2

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-34716 ### Vulnerable Library - system.security.cryptography.xml.6.0.0.nupkg

Provides classes to support the creation and validation of XML digital signatures. The classes in th...

Library home page: https://api.nuget.org/packages/system.security.cryptography.xml.6.0.0.nupkg

Path to dependency file: /src/Services/Basket/Basket.UnitTests/Basket.UnitTests.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.security.cryptography.xml/6.0.0/system.security.cryptography.xml.6.0.0.nupkg

Dependency Hierarchy: - WebMVC-1.0.0 (Root Library) - microsoft.aspnetcore.dataprotection.stackexchangeredis.6.0.0.nupkg - microsoft.aspnetcore.dataprotection.6.0.0.nupkg - :x: **system.security.cryptography.xml.6.0.0.nupkg** (Vulnerable Library)

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

Found in base branch: dev

### Vulnerability Details

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET Core 3.1 and .NET 6.0. An information disclosure vulnerability exists in .NET Core 3.1 and .NET 6.0 that could lead to unauthorized access of privileged information. ## Affected software * Any .NET 6.0 application running on .NET 6.0.7 or earlier. * Any .NET Core 3.1 applicaiton running on .NET Core 3.1.27 or earlier. ## Patches * If you're using .NET 6.0, you should download and install Runtime 6.0.8 or SDK 6.0.108 (for Visual Studio 2022 v17.1) from https://dotnet.microsoft.com/download/dotnet-core/6.0. * If you're using .NET Core 3.1, you should download and install Runtime 3.1.28 (for Visual Studio 2019 v16.9) from https://dotnet.microsoft.com/download/dotnet-core/3.1.

Publish Date: 2022-08-09

URL: CVE-2022-34716

### CVSS 3 Score Details (5.9)

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: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-2m65-m22p-9wjw

Release Date: 2022-08-09

Fix Resolution: Microsoft.AspNetCore.App.Runtime.linux-arm - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-arm64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-musl-arm - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-musl-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.osx-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-arm - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-arm64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-x86 - 3.1.28,6.0.8;System.Security.Cryptography.Xml - 4.7.1,6.0.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)