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.aspnetcore.authentication.openidconnect.6.0.0.nupkg: 2 vulnerabilities (highest severity is: 7.5) #45

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

mend-bolt-for-github[bot] commented 8 months ago
Vulnerable Library - microsoft.aspnetcore.authentication.openidconnect.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/5.0.0/system.formats.asn1.5.0.0.nupkg

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (microsoft.aspnetcore.authentication.openidconnect.6.0.0.nupkg version) Remediation Possible**
CVE-2024-38095 High 7.5 system.formats.asn1.5.0.0.nupkg Transitive N/A*
CVE-2024-21319 Medium 6.8 detected in multiple dependencies 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.5.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.5.0.0.nupkg

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

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

Dependency Hierarchy: - microsoft.aspnetcore.authentication.openidconnect.6.0.0.nupkg (Root Library) - microsoft.identitymodel.protocols.openidconnect.6.10.0.nupkg - microsoft.identitymodel.protocols.6.10.0.nupkg - microsoft.identitymodel.tokens.6.10.0.nupkg - system.security.cryptography.cng.5.0.0.nupkg - :x: **system.formats.asn1.5.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-2024-21319 ### Vulnerable Libraries - system.identitymodel.tokens.jwt.6.10.0.nupkg, microsoft.identitymodel.jsonwebtokens.6.10.0.nupkg

### system.identitymodel.tokens.jwt.6.10.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.6.10.0.nupkg

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

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

Dependency Hierarchy: - microsoft.aspnetcore.authentication.openidconnect.6.0.0.nupkg (Root Library) - microsoft.identitymodel.protocols.openidconnect.6.10.0.nupkg - :x: **system.identitymodel.tokens.jwt.6.10.0.nupkg** (Vulnerable Library) ### microsoft.identitymodel.jsonwebtokens.6.10.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.6.10.0.nupkg

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

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

Dependency Hierarchy: - microsoft.aspnetcore.authentication.openidconnect.6.0.0.nupkg (Root Library) - microsoft.identitymodel.protocols.openidconnect.6.10.0.nupkg - system.identitymodel.tokens.jwt.6.10.0.nupkg - :x: **microsoft.identitymodel.jsonwebtokens.6.10.0.nupkg** (Vulnerable Library)

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

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)