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.jwtbearer.5.0.2.nupkg: 2 vulnerabilities (highest severity is: 6.8) #7

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

mend-bolt-for-github[bot] commented 2 years ago
Vulnerable Library - microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg

ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token. This...

Library home page: https://api.nuget.org/packages/microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg

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

Path to vulnerable library: /ages/microsoft.aspnetcore.authentication.jwtbearer/5.0.2/microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg version) Remediation Possible**
CVE-2024-21319 Medium 6.8 detected in multiple dependencies Transitive N/A*
CVE-2021-34532 Medium 5.5 microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg Direct Microsoft.AspNetCore.Authentication.JwtBearer - 2.1.30, 3.1.18, 5.0.9

*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-21319 ### Vulnerable Libraries - system.identitymodel.tokens.jwt.6.8.0.nupkg, microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg

### system.identitymodel.tokens.jwt.6.8.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.8.0.nupkg

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

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

Dependency Hierarchy: - microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg (Root Library) - microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg - :x: **system.identitymodel.tokens.jwt.6.8.0.nupkg** (Vulnerable Library) ### microsoft.identitymodel.jsonwebtokens.6.8.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.8.0.nupkg

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

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

Dependency Hierarchy: - microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg (Root Library) - microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg - system.identitymodel.tokens.jwt.6.8.0.nupkg - :x: **microsoft.identitymodel.jsonwebtokens.6.8.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)
CVE-2021-34532 ### Vulnerable Library - microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg

ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token. This...

Library home page: https://api.nuget.org/packages/microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg

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

Path to vulnerable library: /ages/microsoft.aspnetcore.authentication.jwtbearer/5.0.2/microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg

Dependency Hierarchy: - :x: **microsoft.aspnetcore.authentication.jwtbearer.5.0.2.nupkg** (Vulnerable Library)

Found in HEAD commit: 58162be7965e66c71394dab67f66ed3d7cfaaef5

Found in base branch: dev

### Vulnerability Details

ASP.NET Core and Visual Studio Information Disclosure Vulnerability

Publish Date: 2021-08-12

URL: CVE-2021-34532

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - 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-q7cg-43mg-qp69

Release Date: 2021-08-12

Fix Resolution: Microsoft.AspNetCore.Authentication.JwtBearer - 2.1.30, 3.1.18, 5.0.9

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