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

microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg: 5 vulnerabilities (highest severity is: 8.7) #27

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

mend-bolt-for-github[bot] commented 2 years ago
Vulnerable Library - microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg

Path to dependency file: /src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.data.sqlclient/2.0.1/microsoft.data.sqlclient.2.0.1.nupkg

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg version) Remediation Possible**
CVE-2024-0056 High 8.7 microsoft.data.sqlclient.2.0.1.nupkg Transitive N/A*
CVE-2021-24112 High 8.1 system.drawing.common.4.7.0.nupkg Transitive N/A*
CVE-2024-21907 High 7.5 newtonsoft.json.10.0.1.nupkg Transitive N/A*
CVE-2024-21319 Medium 6.8 detected in multiple dependencies Transitive N/A*
CVE-2022-41064 Medium 5.8 microsoft.data.sqlclient.2.0.1.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-0056 ### Vulnerable Library - microsoft.data.sqlclient.2.0.1.nupkg

Provides the data provider for SQL Server. These classes provide access to versions of SQL Server an...

Library home page: https://api.nuget.org/packages/microsoft.data.sqlclient.2.0.1.nupkg

Path to dependency file: /src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.data.sqlclient/2.0.1/microsoft.data.sqlclient.2.0.1.nupkg

Dependency Hierarchy: - microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg (Root Library) - :x: **microsoft.data.sqlclient.2.0.1.nupkg** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability

Publish Date: 2024-01-09

URL: CVE-2024-0056

### CVSS 3 Score Details (8.7)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-98g6-xh36-x2p7

Release Date: 2024-01-09

Fix Resolution: Microsoft.Data.SqlClient - 2.1.7,3.1.5,4.0.5,5.1.3, System.Data.SqlClient - 4.8.6

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-24112 ### Vulnerable Library - system.drawing.common.4.7.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.7.0.nupkg

Path to dependency file: /src/Services/Webhooks/Webhooks.API/Webhooks.API.csproj

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

Dependency Hierarchy: - microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg (Root Library) - microsoft.data.sqlclient.2.0.1.nupkg - system.runtime.caching.4.7.0.nupkg - system.configuration.configurationmanager.4.7.0.nupkg - system.security.permissions.4.7.0.nupkg - system.windows.extensions.4.7.0.nupkg - :x: **system.drawing.common.4.7.0.nupkg** (Vulnerable Library)

Found in base branch: dev

### 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](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2024-21907 ### Vulnerable Library - newtonsoft.json.10.0.1.nupkg

Json.NET is a popular high-performance JSON framework for .NET

Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.1.nupkg

Path to dependency file: /src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/newtonsoft.json/10.0.1/newtonsoft.json.10.0.1.nupkg

Dependency Hierarchy: - microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg (Root Library) - microsoft.data.sqlclient.2.0.1.nupkg - microsoft.identitymodel.protocols.openidconnect.5.6.0.nupkg - microsoft.identitymodel.protocols.5.6.0.nupkg - microsoft.identitymodel.tokens.5.6.0.nupkg - :x: **newtonsoft.json.10.0.1.nupkg** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

Newtonsoft.Json before version 13.0.1 is affected by a mishandling of exceptional conditions vulnerability. Crafted data that is passed to the JsonConvert.DeserializeObject method may trigger a StackOverflow exception resulting in denial of service. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition.

Publish Date: 2024-01-03

URL: CVE-2024-21907

### 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-5crp-9r3c-p9vr

Release Date: 2024-01-03

Fix Resolution: Newtonsoft.Json - 13.0.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2024-21319 ### Vulnerable Libraries - microsoft.identitymodel.jsonwebtokens.5.6.0.nupkg, system.identitymodel.tokens.jwt.5.6.0.nupkg

### microsoft.identitymodel.jsonwebtokens.5.6.0.nupkg

Includes types that provide support for creating, serializing and validating JSON Web Tokens.

Library home page: https://api.nuget.org/packages/microsoft.identitymodel.jsonwebtokens.5.6.0.nupkg

Path to dependency file: /src/Web/WebStatus/WebStatus.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.identitymodel.jsonwebtokens/5.6.0/microsoft.identitymodel.jsonwebtokens.5.6.0.nupkg

Dependency Hierarchy: - microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg (Root Library) - microsoft.data.sqlclient.2.0.1.nupkg - microsoft.identitymodel.protocols.openidconnect.5.6.0.nupkg - system.identitymodel.tokens.jwt.5.6.0.nupkg - :x: **microsoft.identitymodel.jsonwebtokens.5.6.0.nupkg** (Vulnerable Library) ### system.identitymodel.tokens.jwt.5.6.0.nupkg

Includes types that provide support for creating, serializing and validating JSON Web Tokens.

Library home page: https://api.nuget.org/packages/system.identitymodel.tokens.jwt.5.6.0.nupkg

Path to dependency file: /src/Web/WebStatus/WebStatus.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.identitymodel.tokens.jwt/5.6.0/system.identitymodel.tokens.jwt.5.6.0.nupkg

Dependency Hierarchy: - microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg (Root Library) - microsoft.data.sqlclient.2.0.1.nupkg - microsoft.identitymodel.protocols.openidconnect.5.6.0.nupkg - :x: **system.identitymodel.tokens.jwt.5.6.0.nupkg** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

Microsoft Identity Denial of service vulnerability

Publish Date: 2024-01-09

URL: CVE-2024-21319

### CVSS 3 Score Details (6.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: High - User Interaction: None - Scope: Changed - 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-8g9c-28fc-mcx2

Release Date: 2024-01-09

Fix Resolution: System.IdentityModel.Tokens.Jwt - 5.7.0,6.34.0,7.1.2, Microsoft.IdentityModel.JsonWebTokens - 5.7.0,6.34.0,7.1.2

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-41064 ### Vulnerable Library - microsoft.data.sqlclient.2.0.1.nupkg

Provides the data provider for SQL Server. These classes provide access to versions of SQL Server an...

Library home page: https://api.nuget.org/packages/microsoft.data.sqlclient.2.0.1.nupkg

Path to dependency file: /src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHost.Customization.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.data.sqlclient/2.0.1/microsoft.data.sqlclient.2.0.1.nupkg

Dependency Hierarchy: - microsoft.entityframeworkcore.sqlserver.5.0.2.nupkg (Root Library) - :x: **microsoft.data.sqlclient.2.0.1.nupkg** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

.NET Framework Information Disclosure Vulnerability Mend Note: Converted from WS-2022-0377, on 2022-11-10.

Publish Date: 2022-11-09

URL: CVE-2022-41064

### CVSS 3 Score Details (5.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Adjacent - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Changed - 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-8g2p-5pqh-5jmc

Release Date: 2022-11-09

Fix Resolution: Microsoft.Data.SqlClient - 1.1.4,2.1.2;System.Data.SqlClient - 4.8.5

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